s3: Remove a call to procid_self()
[ira/wip.git] / 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);