X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source3%2Fsmbd%2Fserver.c;h=9966cf46a0fc5f2aea40ac2031a37699dcde44b3;hb=290ce331b6e5995095a1237277a2a6a7272986ce;hp=f7edc9996e40e2ae88ee0912308a6138a571ee4f;hpb=8a83464216156204c75c44e90fae55dc34cb389f;p=kai%2Fsamba.git diff --git a/source3/smbd/server.c b/source3/smbd/server.c index f7edc9996e4..9966cf46a0f 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -461,8 +461,7 @@ static void smbd_accept_connection(struct tevent_context *ev, } smbd_setup_sig_term_handler(sconn); - smbd_setup_sig_hup_handler(ev, - msg_ctx); + smbd_setup_sig_hup_handler(sconn); if (!serverid_register(messaging_server_id(msg_ctx), FLAG_MSG_GENERAL|FLAG_MSG_SMBD