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)
downloadgnunet-b822e98f7ea722f7f0604bd9cef9aa436e7bab7d.tar.gz
gnunet-b822e98f7ea722f7f0604bd9cef9aa436e7bab7d.zip
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 4b3655de4..923ab5e33 100644
--- a/src/social/social_api.c
+++ b/src/social/social_api.c
@@ -1082,9 +1082,11 @@ place_cleanup (struct GNUNET_SOCIAL_Place *plc)
1082void 1082void
1083place_disconnect (struct GNUNET_SOCIAL_Place *plc) 1083place_disconnect (struct GNUNET_SOCIAL_Place *plc)
1084{ 1084{
1085 struct GNUNET_HashCode place_pub_hash;
1086 GNUNET_CRYPTO_hash (&plc->pub_key, sizeof (plc->pub_key), &place_pub_hash);
1085 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 1087 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1086 "place_disconnect, plc = %p\n", 1088 "place_disconnect, plc = %s\n",
1087 plc); 1089 GNUNET_h2s (&place_pub_hash));
1088 if (NULL != plc->mq) 1090 if (NULL != plc->mq)
1089 { 1091 {
1090 struct GNUNET_MQ_Envelope *env = GNUNET_MQ_get_last_envelope (plc->mq); 1092 struct GNUNET_MQ_Envelope *env = GNUNET_MQ_get_last_envelope (plc->mq);