diff options
author | Andreas Ebner <a.e.bner@web.de> | 2019-10-06 12:57:52 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:18:21 +0200 |
commit | 5cc45c7ee6a3ac522e5a1f58010d4efdf4fd102f (patch) | |
tree | 8954896a2fc901593b1e8f27e7838746d04ec52a /src/credential/gnunet-credential.c | |
parent | 5ee7ff6e12768971ac2145b8e21a45d1c730b274 (diff) | |
download | gnunet-5cc45c7ee6a3ac522e5a1f58010d4efdf4fd102f.tar.gz gnunet-5cc45c7ee6a3ac522e5a1f58010d4efdf4fd102f.zip |
Proper print on add callback, fixed return value in .._start, both cases require same handling therefore same return value
Diffstat (limited to 'src/credential/gnunet-credential.c')
-rw-r--r-- | src/credential/gnunet-credential.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/credential/gnunet-credential.c b/src/credential/gnunet-credential.c index 58f7cf50d..03b017208 100644 --- a/src/credential/gnunet-credential.c +++ b/src/credential/gnunet-credential.c | |||
@@ -489,6 +489,11 @@ add_continuation (void *cls, int32_t success, const char *emsg) | |||
489 | struct GNUNET_NAMESTORE_QueueEntry **qe = cls; | 489 | struct GNUNET_NAMESTORE_QueueEntry **qe = cls; |
490 | *qe = NULL; | 490 | *qe = NULL; |
491 | 491 | ||
492 | if(GNUNET_OK == success) | ||
493 | printf ("Adding successful.\n"); | ||
494 | else | ||
495 | fprintf (stderr, "Error occured during adding, shutting down.\n"); | ||
496 | |||
492 | GNUNET_SCHEDULER_shutdown (); | 497 | GNUNET_SCHEDULER_shutdown (); |
493 | } | 498 | } |
494 | 499 | ||