summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 16:08:03 +0200
committerVolker Lendecke <vl@samba.org>2010-07-04 16:41:14 +0200
commitb01958b0bdb1a7115b82fc7029d8ffe630614cff (patch)
tree46b9b2733aea40f82a7f1bf26e953e9d9d071c3e /source3/smbd/negprot.c
parentba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf (diff)
downloadsamba-b01958b0bdb1a7115b82fc7029d8ffe630614cff.tar.gz
samba-b01958b0bdb1a7115b82fc7029d8ffe630614cff.tar.bz2
samba-b01958b0bdb1a7115b82fc7029d8ffe630614cff.zip
s3: Remove serverid_[de]register_self
This removes some deep references to procid_self()
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 0a928a23d6..e6fc23adee 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -665,8 +665,9 @@ void reply_negprot(struct smb_request *req)
when the client connects to port 445. Of course there is a small
window where we are listening to messages -- jerry */
- serverid_register_self(FLAG_MSG_GENERAL|FLAG_MSG_SMBD
- |FLAG_MSG_PRINT_GENERAL);
+ serverid_register(procid_self(),
+ FLAG_MSG_GENERAL|FLAG_MSG_SMBD
+ |FLAG_MSG_PRINT_GENERAL);
/* Check for protocols, most desirable first */
for (protocol = 0; supported_protocols[protocol].proto_name; protocol++) {