diff options
Diffstat (limited to 'src/core/test_core_api_send_to_self.c')
-rw-r--r-- | src/core/test_core_api_send_to_self.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/test_core_api_send_to_self.c b/src/core/test_core_api_send_to_self.c index 82048ea92..4e2ee3fe4 100644 --- a/src/core/test_core_api_send_to_self.c +++ b/src/core/test_core_api_send_to_self.c | |||
@@ -103,12 +103,12 @@ send_message (void *cls, size_t size, void *buf) | |||
103 | 103 | ||
104 | 104 | ||
105 | static void | 105 | static void |
106 | init (void *cls, struct GNUNET_CORE_Handle *core, | 106 | init (void *cls, |
107 | const struct GNUNET_PeerIdentity *my_identity) | 107 | const struct GNUNET_PeerIdentity *my_identity) |
108 | { | 108 | { |
109 | if (core == NULL) | 109 | if (NULL == my_identity) |
110 | { | 110 | { |
111 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Could NOT connect to CORE;\n"); | 111 | GNUNET_break (0); |
112 | return; | 112 | return; |
113 | } | 113 | } |
114 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 114 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |