diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-03-05 20:44:15 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-03-05 20:44:15 +0100 |
commit | 1ac9fb8bc3555213fda82ef3dd974a6b30e45b25 (patch) | |
tree | 63cd58c378695174e22e1b39b32e7e21ba3a8315 /src/conversation/conversation_api.c | |
parent | 0f4032609d5372978e0c038ee05f51ce9c131876 (diff) | |
download | gnunet-1ac9fb8bc3555213fda82ef3dd974a6b30e45b25.tar.gz gnunet-1ac9fb8bc3555213fda82ef3dd974a6b30e45b25.zip |
update gnunet-conversation to match .gnu-less GNS
Diffstat (limited to 'src/conversation/conversation_api.c')
-rw-r--r-- | src/conversation/conversation_api.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c index 0b3920633..00ee3d3ea 100644 --- a/src/conversation/conversation_api.c +++ b/src/conversation/conversation_api.c | |||
@@ -27,8 +27,6 @@ | |||
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "gnunet_conversation_service.h" | 29 | #include "gnunet_conversation_service.h" |
30 | #include "gnunet_gnsrecord_lib.h" | ||
31 | #include "gnunet_gns_service.h" | ||
32 | #include "conversation.h" | 30 | #include "conversation.h" |
33 | 31 | ||
34 | 32 | ||
@@ -457,6 +455,9 @@ static int | |||
457 | check_phone_audio (void *cls, | 455 | check_phone_audio (void *cls, |
458 | const struct ClientAudioMessage *am) | 456 | const struct ClientAudioMessage *am) |
459 | { | 457 | { |
458 | (void) cls; | ||
459 | (void) am; | ||
460 | |||
460 | /* any variable-size payload is OK */ | 461 | /* any variable-size payload is OK */ |
461 | return GNUNET_OK; | 462 | return GNUNET_OK; |
462 | } | 463 | } |
@@ -509,6 +510,7 @@ phone_error_handler (void *cls, | |||
509 | { | 510 | { |
510 | struct GNUNET_CONVERSATION_Phone *phone = cls; | 511 | struct GNUNET_CONVERSATION_Phone *phone = cls; |
511 | 512 | ||
513 | (void) error; | ||
512 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 514 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
513 | _("Connection to conversation service lost, trying to reconnect\n")); | 515 | _("Connection to conversation service lost, trying to reconnect\n")); |
514 | reconnect_phone (phone); | 516 | reconnect_phone (phone); |