From 5b143539a0faf0ebcaa9df0aa7d96f821ba8677e Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 7 Dec 2008 16:04:56 -0600 Subject: [PATCH] Fix missing argument in client_entry.c debug logging. Logging modifications during merge commit e9374395ec9747bddd3ea0bfd3e5a17717e97b31 resulted in several log messages that purport to print a pointer, but do not push one for the logging code to format. Add the pointer that was clearly meant in each case. --- lib/silcclient/client_entry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/silcclient/client_entry.c b/lib/silcclient/client_entry.c index a7ec24ee..003f2fcf 100644 --- a/lib/silcclient/client_entry.c +++ b/lib/silcclient/client_entry.c @@ -1019,10 +1019,10 @@ SilcBool silc_client_del_client(SilcClient client, SilcClientConnection conn, if (!client_entry) return FALSE; - SILC_LOG_DEBUG(("Marking client entry %p deleted")); + SILC_LOG_DEBUG(("Marking client entry %p deleted", client_entry)); if (silc_atomic_sub_int32(&client_entry->internal.deleted, 1) != 0) { - SILC_LOG_DEBUG(("Client entry %p already marked deleted")); + SILC_LOG_DEBUG(("Client entry %p already marked deleted", client_entry)); return FALSE; } @@ -1722,10 +1722,10 @@ SilcBool silc_client_del_channel(SilcClient client, SilcClientConnection conn, if (!channel) return FALSE; - SILC_LOG_DEBUG(("Marking channel entry %p deleted")); + SILC_LOG_DEBUG(("Marking channel entry %p deleted", channel)); if (silc_atomic_sub_int32(&channel->internal.deleted, 1) != 0) { - SILC_LOG_DEBUG(("Channel entry %p already marked deleted")); + SILC_LOG_DEBUG(("Channel entry %p already marked deleted", channel)); return FALSE; } -- 2.24.0