diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-10-29 11:27:32 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-10-29 11:27:32 +0100 |
commit | ca78392674d82d97832798f933b9c75f4e0af367 (patch) | |
tree | fbee5ffe56dcc168f251b43aef61742d6eb34d7e /src/social/social_api.c | |
parent | cfd5e9d749ae8d9d07ef77943a9b560b491468fc (diff) | |
download | gnunet-ca78392674d82d97832798f933b9c75f4e0af367.tar.gz gnunet-ca78392674d82d97832798f933b9c75f4e0af367.zip |
logging, cosmetic fixes
Diffstat (limited to 'src/social/social_api.c')
-rw-r--r-- | src/social/social_api.c | 3 |
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 | |||
1044 | place_cleanup (struct GNUNET_SOCIAL_Place *plc) | 1044 | place_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); |