summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-10-13 23:14:46 +0000
committerRichard Sharpe <sharpe@samba.org>2003-10-13 23:14:46 +0000
commitec82fb39f90d2a8b3b91259ae5e64cd1b28b3506 (patch)
tree0254d1765ea246791db8a380b89582c749c1c4af
parent5733f731a911478492315af288c1a674ec038452 (diff)
downloadsamba-ec82fb39f90d2a8b3b91259ae5e64cd1b28b3506.tar.gz
samba-ec82fb39f90d2a8b3b91259ae5e64cd1b28b3506.tar.bz2
samba-ec82fb39f90d2a8b3b91259ae5e64cd1b28b3506.zip
Put back the changes that Simo reverted and fix a speling mistak.
(This used to be commit 72b1f727754e2f9f54facba8615032c8118d928c)
-rw-r--r--source3/nsswitch/wb_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nsswitch/wb_common.c b/source3/nsswitch/wb_common.c
index 79553e9e4f..6c47d149f0 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;
}