s3: Remove a call to procid_self()
authorVolker Lendecke <vl@samba.org>
Tue, 13 Dec 2011 16:11:02 +0000 (17:11 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 14 Dec 2011 16:34:21 +0000 (17:34 +0100)
source3/nmbd/nmbd.c

index 6fa2d6f720af254e320c605151577470988c9010..5392eb1d659ffefa804906fb39a76b90106e5aa8 100644 (file)
@@ -923,7 +923,7 @@ static bool open_sockets(bool isdaemon, int port)
 
        /* get broadcast messages */
 
-       if (!serverid_register(procid_self(),
+       if (!serverid_register(messaging_server_id(msg),
                                FLAG_MSG_GENERAL |
                                FLAG_MSG_NMBD |
                                FLAG_MSG_DBWRAP)) {