summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2000-05-09 22:05:39 +0000
committerHerb Lewis <herb@samba.org>2000-05-09 22:05:39 +0000
commit4fb6ca66771ba402e280eb17de720d0d3a7114cc (patch)
tree73d18ff54b395f5d3784d585e5759ed2a33effad /source3
parent4c061ca15cd1e9b0e2ce32218727c4040757c98d (diff)
downloadsamba-4fb6ca66771ba402e280eb17de720d0d3a7114cc.tar.gz
samba-4fb6ca66771ba402e280eb17de720d0d3a7114cc.tar.bz2
samba-4fb6ca66771ba402e280eb17de720d0d3a7114cc.zip
This is reall Jeremy commiting as Herb at SGI labs. Fix
for "socket operation on non-socket" error in log.smb on HEAD branch startup (server_fd not initialized to -1). Jeremy. (This used to be commit ebb4f76550062b0ea2005a2b8842641a2c91f528)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index d2ccd75059..2f6a6ad7ed 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -53,7 +53,7 @@ extern pstring OriginalDir;
the following 2 functions are an alternative - they make the file
descriptor private to smbd
*/
-static int server_fd;
+static int server_fd = -1;
int smbd_server_fd(void)
{