summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-21 15:39:45 +0100
committerVolker Lendecke <vl@samba.org>2012-02-21 17:24:28 +0100
commit7906d0b50b5c880a2557078e73d46f22db6b9cf5 (patch)
treeb6f48c7a63d465603731a20dac94421d8c605038 /source3/smbd
parentc86584adaf25ee811c20eb28f136d30c3842c4b8 (diff)
downloadsamba-7906d0b50b5c880a2557078e73d46f22db6b9cf5.tar.gz
samba-7906d0b50b5c880a2557078e73d46f22db6b9cf5.tar.bz2
samba-7906d0b50b5c880a2557078e73d46f22db6b9cf5.zip
s3: Fix smbd -i
We end up in a nested event loop without this. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 21 17:24:28 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 182b346197..f89bfd4475 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -466,6 +466,7 @@ static void smbd_accept_connection(struct tevent_context *ev,
}
if (s->parent->interactive) {
+ tevent_re_initialise(ev);
smbd_process(ev, sconn);
exit_server_cleanly("end of interactive mode");
return;