diff options
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); |