aboutsummaryrefslogtreecommitdiff
path: root/src/identity/identity_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-16 08:46:14 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-16 08:46:14 +0000
commitbaab42aeb0b5a6d2a782c9c8e9554908c66fa80c (patch)
treec079d90d6ebc8fef4d0ac7c11c4ae0da346cb04a /src/identity/identity_api.c
parent31449563d0ca0dd0f08765325bd3930f7ed882e4 (diff)
downloadgnunet-baab42aeb0b5a6d2a782c9c8e9554908c66fa80c.tar.gz
gnunet-baab42aeb0b5a6d2a782c9c8e9554908c66fa80c.zip
-proper support for initial listing vs. monitor mode
Diffstat (limited to 'src/identity/identity_api.c')
-rw-r--r--src/identity/identity_api.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c
index f7f1530fc..169a7a2ac 100644
--- a/src/identity/identity_api.c
+++ b/src/identity/identity_api.c
@@ -299,6 +299,14 @@ message_handler (void *cls,
299 reschedule_connect (h); 299 reschedule_connect (h);
300 return; 300 return;
301 } 301 }
302 if ( (0 == pk_len) &&
303 (0 == name_len) )
304 {
305 /* end of initial list of data */
306 if (NULL != h->cb)
307 h->cb (h->cb_cls, NULL, NULL, NULL);
308 return;
309 }
302 priv = GNUNET_CRYPTO_ecc_decode_key (str, pk_len, GNUNET_YES); 310 priv = GNUNET_CRYPTO_ecc_decode_key (str, pk_len, GNUNET_YES);
303 if (NULL == priv) 311 if (NULL == priv)
304 { 312 {