aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_send_to_self.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-21 16:03:30 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-21 16:03:30 +0000
commita89c7a30d499bac96890929d745fad063eb707b2 (patch)
treecb001facf8da3cfc9e9bfaa854fb99b9b51ec636 /src/core/test_core_api_send_to_self.c
parentd70d18816c37c30e02977a2cc2bdb2368e95a4de (diff)
downloadgnunet-a89c7a30d499bac96890929d745fad063eb707b2.tar.gz
gnunet-a89c7a30d499bac96890929d745fad063eb707b2.zip
removing deprecated argument in 'init' callback of GNUNET_CORE_connect
Diffstat (limited to 'src/core/test_core_api_send_to_self.c')
-rw-r--r--src/core/test_core_api_send_to_self.c6
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
105static void 105static void
106init (void *cls, struct GNUNET_CORE_Handle *core, 106init (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,