r10934: Fix a gcc 4 warning
authorVolker Lendecke <vlendec@samba.org>
Wed, 12 Oct 2005 20:20:20 +0000 (20:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:39:43 +0000 (13:39 -0500)
(This used to be commit 317edeb546ef03507812e5a0fa1fb331073f55c1)

source4/nsswitch/wb_common.c

index 97f8232524a10d0aef70eee5f43bdf78f8c40651..98eeb279f84f2c9c2784a089fa8760a94863320b 100644 (file)
@@ -230,7 +230,8 @@ static int winbind_named_pipe_sock(const char *dir)
                struct timeval tv;
                fd_set w_fds;
                int ret;
-               int connect_errno = 0, errnosize;
+               int connect_errno = 0;
+               socklen_t errnosize;
 
                if (wait_time >= CONNECT_TIMEOUT)
                        goto error_out;