]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Print own pid in messaging_init
authorVolker Lendecke <vl@samba.org>
Mon, 18 Apr 2016 14:40:22 +0000 (16:40 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 14 Jul 2016 15:14:11 +0000 (17:14 +0200)
This turned out to be some valuable debugging aid for me

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/lib/messages.c

index 5d90947678e221b6be44756aaf4a63af7430426b..af0ca4002275b6383c2917ce4feb22879234953f 100644 (file)
@@ -379,6 +379,11 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx,
        register_dmalloc_msgs(ctx);
        debug_register_msgs(ctx);
 
+       {
+               struct server_id_buf tmp;
+               DBG_DEBUG("my id: %s\n", server_id_str_buf(ctx->id, &tmp));
+       }
+
        return ctx;
 }