s3: Remove a call to procid_self()
authorVolker Lendecke <vl@samba.org>
Tue, 13 Dec 2011 09:56:27 +0000 (10:56 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 13 Dec 2011 10:00:54 +0000 (11:00 +0100)
source3/printing/queue_process.c

index 5c00e8b00127297651770a8ab2fc033da4d8a6cb..ce4047cf1697d6f12ef1f6a61c2b0632e5f76311 100644 (file)
@@ -274,7 +274,7 @@ pid_t start_background_queue(struct tevent_context *ev,
                        exit(1);
                }
 
-               if (!serverid_register(procid_self(),
+               if (!serverid_register(messaging_server_id(msg_ctx),
                                       FLAG_MSG_GENERAL |
                                       FLAG_MSG_PRINT_GENERAL)) {
                        exit(1);