[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31673 - gnunet/src/conversation
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31673 - gnunet/src/conversation |
Date: |
Sun, 22 Dec 2013 14:21:55 +0100 |
Author: grothoff
Date: 2013-12-22 14:21:55 +0100 (Sun, 22 Dec 2013)
New Revision: 31673
Modified:
gnunet/src/conversation/test_conversation_api.c
gnunet/src/conversation/test_conversation_api_reject.c
gnunet/src/conversation/test_conversation_api_twocalls.c
Log:
-handle new error code from enum
Modified: gnunet/src/conversation/test_conversation_api.c
===================================================================
--- gnunet/src/conversation/test_conversation_api.c 2013-12-22 12:54:28 UTC
(rev 31672)
+++ gnunet/src/conversation/test_conversation_api.c 2013-12-22 13:21:55 UTC
(rev 31673)
@@ -385,6 +385,7 @@
break;
case GNUNET_CONVERSATION_EC_CALL_SUSPENDED:
case GNUNET_CONVERSATION_EC_CALL_RESUMED:
+ case GNUNET_CONVERSATION_EC_CALL_ERROR:
fprintf (stderr, "Unexpected call code: %d\n", code);
break;
}
Modified: gnunet/src/conversation/test_conversation_api_reject.c
===================================================================
--- gnunet/src/conversation/test_conversation_api_reject.c 2013-12-22
12:54:28 UTC (rev 31672)
+++ gnunet/src/conversation/test_conversation_api_reject.c 2013-12-22
13:21:55 UTC (rev 31673)
@@ -217,6 +217,7 @@
case GNUNET_CONVERSATION_EC_CALL_GNS_FAIL:
case GNUNET_CONVERSATION_EC_CALL_SUSPENDED:
case GNUNET_CONVERSATION_EC_CALL_RESUMED:
+ case GNUNET_CONVERSATION_EC_CALL_ERROR:
fprintf (stderr, "Unexpected call code: %d\n", code);
break;
}
Modified: gnunet/src/conversation/test_conversation_api_twocalls.c
===================================================================
--- gnunet/src/conversation/test_conversation_api_twocalls.c 2013-12-22
12:54:28 UTC (rev 31672)
+++ gnunet/src/conversation/test_conversation_api_twocalls.c 2013-12-22
13:21:55 UTC (rev 31673)
@@ -115,7 +115,7 @@
void *rdc_cls;
GNUNET_SCHEDULER_TaskIdentifier call_task;
-
+
};
static struct MicContext call1_mic_ctx;
@@ -487,6 +487,9 @@
case GNUNET_CONVERSATION_EC_CALL_RESUMED:
LOG_DEBUG ("Call %s resumed\n", cid);
break;
+ case GNUNET_CONVERSATION_EC_CALL_ERROR:
+ GNUNET_break (0);
+ break;
}
}
@@ -604,7 +607,7 @@
int
main (int argc, char *argv[])
{
-
+
if (0 != GNUNET_TESTING_peer_run ("test_conversation_api_twocalls",
"test_conversation.conf",
&run, NULL))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31673 - gnunet/src/conversation,
gnunet <=