From e5671ad531c7efe72836cfe48604fb90a8fa53a9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 12 Oct 2005 20:20:20 +0000 Subject: r10934: Fix a gcc 4 warning (This used to be commit 317edeb546ef03507812e5a0fa1fb331073f55c1) --- source4/nsswitch/wb_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/nsswitch/wb_common.c') 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; -- cgit