summaryrefslogtreecommitdiffstats
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-06 02:34:59 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-06 02:34:59 +0000
commit06551c644c75ab2aa14a3cc3c4afbcbb08369133 (patch)
treecb84e1c13882c89b74e85a6c540bf34b37a4db80 /source3/smbd/server.c
parent45f8fd3fa99772b5f65b205a96ee3286b1e85ff4 (diff)
downloadsamba-06551c644c75ab2aa14a3cc3c4afbcbb08369133.tar.gz
samba-06551c644c75ab2aa14a3cc3c4afbcbb08369133.tar.xz
samba-06551c644c75ab2aa14a3cc3c4afbcbb08369133.zip
Patch from metze to add exit and interval events. Useful for modules
(This used to be commit 3033a63cefb5f28d4460885f7f4e4ecaed95443c)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index ffffa3cce3..d46be42eba 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -567,6 +567,9 @@ void exit_server(const char *reason)
print_notify_send_messages(3); /* 3 second timeout. */
+ /* run all registered exit events */
+ smb_run_exit_events();
+
/* delete our entry in the connections database. */
yield_connection(NULL,"");