summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2001-06-29 18:40:29 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2001-06-29 18:40:29 +0000
commitad52629aefaceae3b6d9ef8b4bb563c1a63155b0 (patch)
tree27a91e3c7cbc9ad745bf34eb45ad5059daa008be /usr.bin/ssh/channels.c
parent4f5e0c38357fcca4615a77885df995f139ef236b (diff)
use socklen_t for getsockopt arg #5; ok markus@
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r--usr.bin/ssh/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index 9fdc1da5614..89f71a7fef2 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.128 2001/06/25 08:25:35 markus Exp $");
+RCSID("$OpenBSD: channels.c,v 1.129 2001/06/29 18:40:28 stevesk Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -1142,7 +1142,7 @@ static void
channel_post_connecting(Channel *c, fd_set * readset, fd_set * writeset)
{
int err = 0;
- int sz = sizeof(err);
+ socklen_t sz = sizeof(err);
if (FD_ISSET(c->sock, writeset)) {
if (getsockopt(c->sock, SOL_SOCKET, SO_ERROR, (char *)&err,