[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix conversation issue to m
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix conversation issue to make tests pass again |
Date: |
Tue, 21 Feb 2017 17:56:04 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 627d9d522 fix conversation issue to make tests pass again
627d9d522 is described below
commit 627d9d522445e1daa0c7a77096c6f73e53051deb
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 21 17:57:14 2017 +0100
fix conversation issue to make tests pass again
---
src/conversation/gnunet-service-conversation.c | 6 +++++-
src/conversation/test_conversation_api_twocalls.c | 3 ++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/conversation/gnunet-service-conversation.c
b/src/conversation/gnunet-service-conversation.c
index 4e1ac0d15..f80cc1d11 100644
--- a/src/conversation/gnunet-service-conversation.c
+++ b/src/conversation/gnunet-service-conversation.c
@@ -620,7 +620,7 @@ handle_client_audio_message (void *cls,
const struct ClientAudioMessage *msg)
{
struct Line *line = cls;
- struct ClientAudioMessage *mam;
+ struct CadetAudioMessage *mam;
struct Channel *ch;
size_t size;
@@ -672,6 +672,10 @@ handle_client_audio_message (void *cls,
ch->env = NULL;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Received %u bytes of AUDIO data from client CID %u\n",
+ (unsigned int) size,
+ msg->cid);
ch->env = GNUNET_MQ_msg_extra (mam,
size,
GNUNET_MESSAGE_TYPE_CONVERSATION_CADET_AUDIO);
diff --git a/src/conversation/test_conversation_api_twocalls.c
b/src/conversation/test_conversation_api_twocalls.c
index 2e2a73e3f..7d2705e70 100644
--- a/src/conversation/test_conversation_api_twocalls.c
+++ b/src/conversation/test_conversation_api_twocalls.c
@@ -187,7 +187,8 @@ play (void *cls,
phone_i++;
else
{
- LOG_DEBUG ("Received unexpected data %.*s\n",
+ LOG_DEBUG ("Received %u bytes of unexpected data `%.*s'\n",
+ (unsigned int) data_size,
(int) data_size,
(const char *) data);
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: fix conversation issue to make tests pass again,
gnunet <=