git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4386021
)
This is reall Jeremy commiting as Herb at SGI labs. Fix
author
Herb Lewis
<herb@samba.org>
Tue, 9 May 2000 22:05:39 +0000
(22:05 +0000)
committer
Herb 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
patch
|
blob
|
history
diff --git
a/source/smbd/server.c
b/source/smbd/server.c
index d2ccd75059f945eba60dba606e2f3d73115d1e02..2f6a6ad7eda3dbb3dae6b8ea8574483ef8838cea 100644
(file)
--- a/
source/smbd/server.c
+++ b/
source/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)
{