diff options
author | Volker Lendecke <vl@samba.org> | 2012-03-21 11:59:27 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-03-21 12:52:10 +0100 |
commit | 7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9 (patch) | |
tree | 8f7792c52453218a339ebb121877edcdf8639ad6 /source3/smbd/service.c | |
parent | 91f77253e70d8b41f21f62282a7a876a731a795b (diff) | |
download | samba-7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9.tar.gz samba-7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9.tar.bz2 samba-7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9.zip |
s3: Remove "conn" param from notify_init()
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r-- | source3/smbd/service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index a78fa2921f..79e935d5d2 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -697,11 +697,11 @@ static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn, /* Any error exit after here needs to call the disconnect hook. */ on_err_call_dis_hook = true; - if ((!conn->printer) && (!conn->ipc)) { + if ((!conn->printer) && (!conn->ipc) && + lp_change_notify(conn->params)) { conn->notify_ctx = notify_init(conn, sconn->msg_ctx, - sconn->ev_ctx, - conn); + sconn->ev_ctx); } /* |