Fix missing argument in silc_client_abort_key_agreement debug logging.
authorKp <kp@valhallalegends.com>
Sun, 7 Dec 2008 22:35:05 +0000 (16:35 -0600)
committerKp <kp@valhallalegends.com>
Sat, 13 Dec 2008 19:57:36 +0000 (13:57 -0600)
The debug log in silc_client_abort_key_agreement purports to print a
pointer, but does not push one for the logging code to format.  Fix
that, and extend the message to print some other values that might be
interesting.

lib/silcclient/client_keyagr.c

index 6a93b061278022fb497d49a546c4e377de4650e7..0d0ef8b4481bbb23ece9d3da1672616174d80864 100644 (file)
@@ -368,7 +368,8 @@ void silc_client_abort_key_agreement(SilcClient client,
 
   ke = client_entry->internal.ke;
 
-  SILC_LOG_DEBUG(("Abort key agreement %p"));
+  SILC_LOG_DEBUG(("Abort key agreement ke %p for client %p on connection %p",
+                  ke, client, conn));
 
   ke->completion(client, conn, client_entry,
                 SILC_KEY_AGREEMENT_ABORTED, NULL, ke->context);