- htons => htonl
[oweals/gnunet.git] / src / namestore / gnunet-namestore.c
index 0eb2c1786bed3fbd2939f9387459035ef99cad94..ec6ccbfbedcfab86fad97d599179a0855bb6af4d 100644 (file)
@@ -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);
   }
 }