diff options
author | Volker Lendecke <vl@samba.org> | 2015-04-23 18:06:17 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-04-28 18:11:13 +0200 |
commit | db5b76690388ff1ae31b8197572d1cfb65eed6c0 (patch) | |
tree | 4a4795c7c9e68a62ba67c45649890221582a474a /lib | |
parent | fdbca5e13a0375d7f18639679a627e67c3df647a (diff) | |
download | samba-db5b76690388ff1ae31b8197572d1cfb65eed6c0.tar.gz |
lib: Remove procid_str_static
Replace all callers with direct calls to server_id_str_buf without
talloc_tos()
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/debug_s3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/util/debug_s3.c b/lib/util/debug_s3.c index 160e2ef230f..d9ac15f6605 100644 --- a/lib/util/debug_s3.c +++ b/lib/util/debug_s3.c @@ -84,14 +84,15 @@ static void debuglevel_message(struct messaging_context *msg_ctx, DATA_BLOB *data) { char *message = debug_list_class_names_and_levels(); + struct server_id_buf tmp; if (!message) { DEBUG(0,("debuglevel_message - debug_list_class_names_and_levels returned NULL\n")); return; } - DEBUG(1,("INFO: Received REQ_DEBUGLEVEL message from PID %s\n", - procid_str_static(&src))); + DEBUG(1, ("INFO: Received REQ_DEBUGLEVEL message from PID %s\n", + server_id_str_buf(src, &tmp))); messaging_send_buf(msg_ctx, src, MSG_DEBUGLEVEL, (uint8 *)message, strlen(message) + 1); |