Merge branch 'master' of ssh://gnunet.org/gnunet
[oweals/gnunet.git] / src / social / gnunet-service-social.c
index 685eb71caf4053c88896f13e0600bba75b8bc195..dee68fdb8b21bf5c48ffcb59af8efc8ac285bcae 100644 (file)
@@ -49,7 +49,7 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg;
 /**
  * Service handle.
  */
-struct GNUNET_SERVICE_Handle *service;
+static struct GNUNET_SERVICE_Handle *service;
 
 /* Handles to other services */
 static struct GNUNET_IDENTITY_Handle *id;
@@ -1955,9 +1955,11 @@ handle_client_guest_enter_by_name (void *cls,
     GNUNET_memcpy (gcls->password, password, password_size);
   }
 
-  GNUNET_GNS_lookup (gns, gns_name, &greq->ego_pub_key,
-                     GNUNET_GNSRECORD_TYPE_PLACE, GNUNET_GNS_LO_DEFAULT,
-                     NULL, gns_result_guest_enter, gcls);
+  GNUNET_GNS_lookup (gns, gns_name,
+                     &greq->ego_pub_key,
+                     GNUNET_GNSRECORD_TYPE_PLACE,
+                     GNUNET_GNS_LO_DEFAULT,
+                     &gns_result_guest_enter, gcls);
 }