From: Richard Sharpe Date: Mon, 13 Oct 2003 23:14:46 +0000 (+0000) Subject: Put back the changes that Simo reverted and fix a speling mistak. X-Git-Tag: samba-4.0.0alpha6~801^2~11793^2~619 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=ec82fb39f90d2a8b3b91259ae5e64cd1b28b3506;p=samba.git Put back the changes that Simo reverted and fix a speling mistak. (This used to be commit 72b1f727754e2f9f54facba8615032c8118d928c) --- diff --git a/source3/nsswitch/wb_common.c b/source3/nsswitch/wb_common.c index 79553e9e4fa..6c47d149f0e 100644 --- a/source3/nsswitch/wb_common.c +++ b/source3/nsswitch/wb_common.c @@ -81,7 +81,7 @@ static int make_nonstd_fd_internals(int fd, int limit /* Recursion limiter */) if ((new_fd = fcntl(fd, F_DUPFD, 3)) == -1) { return -1; } - /* Parinoia */ + /* Paranoia */ if (new_fd < 3) { close(new_fd); return -1; @@ -191,6 +191,8 @@ static int winbind_named_pipe_sock(const char *dir) if (connect(fd, (struct sockaddr *)&sunaddr, sizeof(sunaddr)) == -1) { + DEBUG(10, ("error connecting to pipe socket: %s\n", + strerror(errno))); close(fd); return -1; }