diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-10-12 20:20:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:43 -0500 |
commit | e5671ad531c7efe72836cfe48604fb90a8fa53a9 (patch) | |
tree | 209d778944661717b066de9bbfc0b5254b431a5e /source4/nsswitch | |
parent | 1307149624bcda8c45d538c33a46c4f3b9058afb (diff) | |
download | samba-e5671ad531c7efe72836cfe48604fb90a8fa53a9.tar.gz samba-e5671ad531c7efe72836cfe48604fb90a8fa53a9.tar.xz samba-e5671ad531c7efe72836cfe48604fb90a8fa53a9.zip |
r10934: Fix a gcc 4 warning
(This used to be commit 317edeb546ef03507812e5a0fa1fb331073f55c1)
Diffstat (limited to 'source4/nsswitch')
-rw-r--r-- | source4/nsswitch/wb_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/nsswitch/wb_common.c b/source4/nsswitch/wb_common.c index 97f8232524..98eeb279f8 100644 --- a/source4/nsswitch/wb_common.c +++ b/source4/nsswitch/wb_common.c @@ -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; |