From 03e7bdd09825eeaf044dc1779f7afe97af2a4453 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 20 Dec 2013 12:54:35 +0000 Subject: -indentation --- src/namestore/gnunet-namestore.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src/namestore') diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 0eb2c1786..ec6ccbfbe 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c @@ -806,9 +806,9 @@ identity_cb (void *cls, static void default_ego_cb (void *cls, - struct GNUNET_IDENTITY_Ego *ego, - void **ctx, - const char *name) + struct GNUNET_IDENTITY_Ego *ego, + void **ctx, + const char *name) { get_default = NULL; if (NULL == ego) @@ -825,17 +825,20 @@ default_ego_cb (void *cls, } } + static void id_connect_cb (void *cls, - struct GNUNET_IDENTITY_Ego *ego, - void **ctx, - const char *name) + struct GNUNET_IDENTITY_Ego *ego, + void **ctx, + const char *name) { const struct GNUNET_CONFIGURATION_Handle *cfg = cls; + if (NULL == ego) { - get_default = GNUNET_IDENTITY_get (idh, "namestore", - &default_ego_cb, (void *) cfg); + get_default = GNUNET_IDENTITY_get (idh, + "namestore", + &default_ego_cb, (void *) cfg); } } -- cgit v1.2.3