summaryrefslogtreecommitdiffstats
path: root/channels.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-07-04 05:13:35 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-07-04 05:13:35 +0000
commit1118095d33e01dbec3b627d99d3c4b83b82523dc (patch)
treeb0fed2e66f97508bd69c96ea301db5a686e5ac42 /channels.c
parentdb47f383e6718b102dfe562e5c80f83330c08593 (diff)
- stevesk@cvs.openbsd.org 2001/06/29 18:40:28
[channels.c] use socklen_t for getsockopt arg #5; ok markus@
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c
index 2721ec6b..937e059c 100644
--- a/channels.c
+++ b/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,