summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-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)
{