diff options
-rw-r--r-- | source3/smbd/process.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 782232cd76..51b2e51e09 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -928,7 +928,7 @@ static void smbd_sig_hup_handler(struct tevent_context *ev, private_data, struct messaging_context); change_to_root_user(); DEBUG(1,("Reloading services after SIGHUP\n")); - reload_services(msg_ctx, smbd_server_fd(), False); + reload_services(msg_ctx, smbd_server_conn->sock, False); } void smbd_setup_sig_hup_handler(struct tevent_context *ev, diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 6f4fb5a0e7..36b081a3fe 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -107,7 +107,7 @@ static void smb_conf_updated(struct messaging_context *msg, DEBUG(10,("smb_conf_updated: Got message saying smb.conf was " "updated. Reloading.\n")); change_to_root_user(); - reload_services(msg, smbd_server_fd(), False); + reload_services(msg, smbd_server_conn->sock, False); } |