s3: Remove a call to procid_self()
authorVolker Lendecke <vl@samba.org>
Tue, 13 Dec 2011 09:57:34 +0000 (10:57 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 13 Dec 2011 10:00:55 +0000 (11:00 +0100)
source3/smbd/server.c

index 9f6a5e0bcaad5d56259e2f6bb712dea0bddfed47..e7a7d3152777fe1087d4617bbc357bd127c15d5b 100644 (file)
@@ -737,7 +737,7 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent,
           operations until it has gone thru a full startup, which
           includes checking to see that smbd is listening. */
 
-       if (!serverid_register(procid_self(),
+       if (!serverid_register(messaging_server_id(msg_ctx),
                               FLAG_MSG_GENERAL|FLAG_MSG_SMBD
                               |FLAG_MSG_PRINT_GENERAL
                               |FLAG_MSG_DBWRAP)) {