diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-21 16:03:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-21 16:03:30 +0000 |
commit | a89c7a30d499bac96890929d745fad063eb707b2 (patch) | |
tree | cb001facf8da3cfc9e9bfaa854fb99b9b51ec636 /src/core/test_core_api_send_to_self.c | |
parent | d70d18816c37c30e02977a2cc2bdb2368e95a4de (diff) | |
download | gnunet-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.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, |