s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler()
[kai/samba.git] / source3 / smbd / server.c
index f7edc9996e40e2ae88ee0912308a6138a571ee4f..9966cf46a0fc5f2aea40ac2031a37699dcde44b3 100644 (file)
@@ -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