diff options
author | 2001-06-29 18:40:28 +0000 | |
---|---|---|
committer | 2001-06-29 18:40:28 +0000 | |
commit | 55c4e5a0f3c9d7024d0aa5dacdb0f8dc85f80601 (patch) | |
tree | b049c8faa0debff1b33e403235d89f76ff8e4326 /usr.bin/ssh/channels.c | |
parent | sync function definition with declaration; ok markus@ (diff) | |
download | wireguard-openbsd-55c4e5a0f3c9d7024d0aa5dacdb0f8dc85f80601.tar.xz wireguard-openbsd-55c4e5a0f3c9d7024d0aa5dacdb0f8dc85f80601.zip |
use socklen_t for getsockopt arg #5; ok markus@
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r-- | usr.bin/ssh/channels.c | 4 |
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, |