aboutsummaryrefslogtreecommitdiff
path: root/src/social/social_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-29 11:27:32 +0100
committerChristian Grothoff <christian@grothoff.org>2017-10-29 11:27:32 +0100
commitca78392674d82d97832798f933b9c75f4e0af367 (patch)
treefbee5ffe56dcc168f251b43aef61742d6eb34d7e /src/social/social_api.c
parentcfd5e9d749ae8d9d07ef77943a9b560b491468fc (diff)
downloadgnunet-ca78392674d82d97832798f933b9c75f4e0af367.tar.gz
gnunet-ca78392674d82d97832798f933b9c75f4e0af367.zip
logging, cosmetic fixes
Diffstat (limited to 'src/social/social_api.c')
-rw-r--r--src/social/social_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/social/social_api.c b/src/social/social_api.c
index fc649fcde..1db8e501a 100644
--- a/src/social/social_api.c
+++ b/src/social/social_api.c
@@ -1044,6 +1044,7 @@ static void
1044place_cleanup (struct GNUNET_SOCIAL_Place *plc) 1044place_cleanup (struct GNUNET_SOCIAL_Place *plc)
1045{ 1045{
1046 struct GNUNET_HashCode place_pub_hash; 1046 struct GNUNET_HashCode place_pub_hash;
1047
1047 GNUNET_CRYPTO_hash (&plc->pub_key, sizeof (plc->pub_key), &place_pub_hash); 1048 GNUNET_CRYPTO_hash (&plc->pub_key, sizeof (plc->pub_key), &place_pub_hash);
1048 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 1049 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1049 "%s place cleanup: %s\n", 1050 "%s place cleanup: %s\n",
@@ -2092,6 +2093,8 @@ leave_done_cont (void *cls)
2092{ 2093{
2093 struct LeaveContext *lc = cls; 2094 struct LeaveContext *lc = cls;
2094 2095
2096 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
2097 "social_api: guest's place_leave message sent!\n");
2095 GNUNET_SOCIAL_guest_disconnect (lc->gst, 2098 GNUNET_SOCIAL_guest_disconnect (lc->gst,
2096 lc->disconnect_cb, 2099 lc->disconnect_cb,
2097 lc->disconnect_cb_cls); 2100 lc->disconnect_cb_cls);