aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-05 13:49:24 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-05 13:49:24 +0000
commitac0ec4da80c4a70e27b35f2b0271e81cc9708e78 (patch)
treedce6e9e4a580e4f19d5812cbbcda4df0e12d0853 /src/core/test_core_api.c
parentb231dd68ce69d837b1172067d141ffe537e2d350 (diff)
downloadgnunet-ac0ec4da80c4a70e27b35f2b0271e81cc9708e78.tar.gz
gnunet-ac0ec4da80c4a70e27b35f2b0271e81cc9708e78.zip
fixes
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r--src/core/test_core_api.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c
index 771f08771..0b704c46b 100644
--- a/src/core/test_core_api.c
+++ b/src/core/test_core_api.c
@@ -34,7 +34,8 @@
34#include "gnunet_scheduler_lib.h" 34#include "gnunet_scheduler_lib.h"
35#include "gnunet_transport_service.h" 35#include "gnunet_transport_service.h"
36 36
37#define VERBOSE GNUNET_EXTRA_LOGGING 37#define VERBOSE 2
38// GNUNET_EXTRA_LOGGING
38 39
39#define START_ARM GNUNET_YES 40#define START_ARM GNUNET_YES
40 41
@@ -79,7 +80,7 @@ process_hello (void *cls, const struct GNUNET_MessageHeader *message)
79 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 80 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
80 "Received (my) `%s' from transport service\n", "HELLO"); 81 "Received (my) `%s' from transport service\n", "HELLO");
81 GNUNET_assert (message != NULL); 82 GNUNET_assert (message != NULL);
82 if ((p == &p1) && (p2.th != NULL)) 83 if ((p == &p1) && (p2.th != NULL))
83 GNUNET_TRANSPORT_offer_hello (p2.th, message, NULL, NULL); 84 GNUNET_TRANSPORT_offer_hello (p2.th, message, NULL, NULL);
84 if ((p == &p2) && (p1.th != NULL)) 85 if ((p == &p2) && (p1.th != NULL))
85 GNUNET_TRANSPORT_offer_hello (p1.th, message, NULL, NULL); 86 GNUNET_TRANSPORT_offer_hello (p1.th, message, NULL, NULL);