This is reall Jeremy commiting as Herb at SGI labs. Fix
authorHerb Lewis <herb@samba.org>
Tue, 9 May 2000 22:05:39 +0000 (22:05 +0000)
committerHerb Lewis <herb@samba.org>
Tue, 9 May 2000 22:05:39 +0000 (22:05 +0000)
for "socket operation on non-socket" error in log.smb
on HEAD branch startup (server_fd not initialized to -1).
Jeremy.

source/smbd/server.c

index d2ccd75059f945eba60dba606e2f3d73115d1e02..2f6a6ad7eda3dbb3dae6b8ea8574483ef8838cea 100644 (file)
@@ -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)
 {