From ec82fb39f90d2a8b3b91259ae5e64cd1b28b3506 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Mon, 13 Oct 2003 23:14:46 +0000 Subject: [PATCH] Put back the changes that Simo reverted and fix a speling mistak. (This used to be commit 72b1f727754e2f9f54facba8615032c8118d928c) --- source3/nsswitch/wb_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.11.4.GIT