1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3: Remove two uses of smbd_server_fd()

Actually, this is a bit cheating. But those two files depend on
smbd_server_conn anyway, it does not make things worse.
This commit is contained in:
Volker Lendecke 2010-08-28 17:21:07 +02:00
parent 5a6be0b314
commit e784e160ec
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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);
}