aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-zonefile.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-10-27 23:24:27 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-10-27 23:24:27 +0900
commit8ccba14bbf77f784f6490130928a26e678f13736 (patch)
treea3a523c230ed0ea512fa506036473c4693484942 /src/namestore/gnunet-namestore-zonefile.c
parentee022170116cd20fc4983e176b62afd427791e68 (diff)
downloadgnunet-8ccba14bbf77f784f6490130928a26e678f13736.tar.gz
gnunet-8ccba14bbf77f784f6490130928a26e678f13736.zip
IDENTITY/NAMESTORE:
Remove the concept of "Subsystem default identities". Add GNUNET_ErrorCodes to IDENTITY subsystem.
Diffstat (limited to 'src/namestore/gnunet-namestore-zonefile.c')
-rw-r--r--src/namestore/gnunet-namestore-zonefile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/gnunet-namestore-zonefile.c b/src/namestore/gnunet-namestore-zonefile.c
index 8820dcdfa..d9331aa32 100644
--- a/src/namestore/gnunet-namestore-zonefile.c
+++ b/src/namestore/gnunet-namestore-zonefile.c
@@ -283,12 +283,12 @@ parse_origin (char *token, char *origin)
283 283
284static void 284static void
285origin_create_cb (void *cls, const struct GNUNET_IDENTITY_PrivateKey *pk, 285origin_create_cb (void *cls, const struct GNUNET_IDENTITY_PrivateKey *pk,
286 const char *emsg) 286 enum GNUNET_ErrorCode ec)
287{ 287{
288 id_op = NULL; 288 id_op = NULL;
289 if (NULL != emsg) 289 if (GNUNET_EC_NONE != ec)
290 { 290 {
291 fprintf (stderr, "Error: %s\n", emsg); 291 fprintf (stderr, "Error: %s\n", GNUNET_ErrorCode_get_hint (ec));
292 ret = 1; 292 ret = 1;
293 GNUNET_SCHEDULER_shutdown (); 293 GNUNET_SCHEDULER_shutdown ();
294 return; 294 return;