aboutsummaryrefslogtreecommitdiff
path: root/src/social
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2017-10-23 04:16:43 +0200
committert3sserakt <t3ss@posteo.de>2017-10-23 04:16:43 +0200
commitb822e98f7ea722f7f0604bd9cef9aa436e7bab7d (patch)
tree841c0282637d7f319e666facab5adc54d69567f5 /src/social
parent6490b5f31e58e9ec008f8c5ceda28f6054f1bbba (diff)
added logging
Diffstat (limited to 'src/social')
-rw-r--r--src/social/social_api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/social/social_api.c b/src/social/social_api.c
index 4b3655de4d..923ab5e33b 100644
--- a/src/social/social_api.c
+++ b/src/social/social_api.c
@@ -1082,9 +1082,11 @@ place_cleanup (struct GNUNET_SOCIAL_Place *plc)
void
place_disconnect (struct GNUNET_SOCIAL_Place *plc)
{
+ struct GNUNET_HashCode place_pub_hash;
+ GNUNET_CRYPTO_hash (&plc->pub_key, sizeof (plc->pub_key), &place_pub_hash);
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "place_disconnect, plc = %p\n",
- plc);
+ "place_disconnect, plc = %s\n",
+ GNUNET_h2s (&place_pub_hash));
if (NULL != plc->mq)
{
struct GNUNET_MQ_Envelope *env = GNUNET_MQ_get_last_envelope (plc->mq);