Put back the changes that Simo reverted and fix a speling mistak.
authorRichard Sharpe <sharpe@samba.org>
Mon, 13 Oct 2003 23:14:46 +0000 (23:14 +0000)
committerRichard Sharpe <sharpe@samba.org>
Mon, 13 Oct 2003 23:14:46 +0000 (23:14 +0000)
source/nsswitch/wb_common.c

index 79553e9e4fa48a254e1d8e0b36de1734e52d15ba..6c47d149f0e5bdb5a2c8cd0886efb1e617f50c42 100644 (file)
@@ -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;
        }