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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 97c54cde04..8f9349f3fc 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -4426,8 +4426,9 @@ void exit_server(char *reason)
if (Connections[i].open)
close_cnum(i,(uint16)-1);
#ifdef WITH_DFS
- if (dcelogin_atmost_once)
+ if (dcelogin_atmost_once) {
dfs_unlogin();
+ }
#endif
if (!reason) {
int oldlevel = DEBUGLEVEL;