summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-06 14:31:15 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-06 14:31:15 +0100
commit403957f04d3b27297c204772f2bf77969a7b2d0b (patch)
tree5244ac88d7c1e684e6dc605e43555191d0ededd2 /src/fs
parentb0f1f0f3fac0120b116132dfd90742b0115b152f (diff)
indentation fixes
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/gnunet-publish.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index 8501141ce..ffcf9b5d0 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -496,21 +496,22 @@ uri_ksk_continuation (void *cls,
emsg);
ret = 1;
}
- if (NULL != namespace)
+ if (NULL == namespace)
{
- priv = GNUNET_IDENTITY_ego_get_private_key (namespace);
- GNUNET_FS_publish_sks (ctx,
- priv,
- this_id,
- next_id,
- meta,
- uri,
- &bo,
- GNUNET_FS_PUBLISH_OPTION_NONE,
- &uri_sks_continuation, NULL);
+ GNUNET_SCHEDULER_shutdown ();
return;
}
- GNUNET_SCHEDULER_shutdown ();
+ priv = GNUNET_IDENTITY_ego_get_private_key (namespace);
+ GNUNET_FS_publish_sks (ctx,
+ priv,
+ this_id,
+ next_id,
+ meta,
+ uri,
+ &bo,
+ GNUNET_FS_PUBLISH_OPTION_NONE,
+ &uri_sks_continuation,
+ NULL);
}