fix deref
authorChristian Grothoff <christian@grothoff.org>
Wed, 18 Apr 2018 13:44:45 +0000 (15:44 +0200)
committerChristian Grothoff <christian@grothoff.org>
Wed, 18 Apr 2018 14:25:40 +0000 (16:25 +0200)
src/namestore/gnunet-zoneimport.c

index 0148f42a77e71c3f0f1b901d87a4de50d0f00246..4f4151c945d3d85dab66a7d34a0c6a19784f7562 100644 (file)
@@ -165,9 +165,9 @@ struct Request
 
   /**
    * Namestore operation pending for this record.
-   */ 
+   */
   struct GNUNET_NAMESTORE_QueueEntry *qe;
-  
+
   /**
    * Zone responsible for this request.
    */
@@ -476,7 +476,7 @@ check_for_glue (void *cls,
     }
     if (NULL ==
        inet_ntop (AF_INET,
-                  &rec->data.raw.data,
+                  rec->data.raw.data,
                   ip,
                   ip_size))
     {
@@ -510,7 +510,7 @@ check_for_glue (void *cls,
     }
     if (NULL ==
        inet_ntop (AF_INET6,
-                  &rec->data.raw.data,
+                  rec->data.raw.data,
                   ip,
                   ip_size))
     {
@@ -1135,7 +1135,7 @@ ns_lookup_result_cb (void *cls,
                     const struct GNUNET_GNSRECORD_Data *rd)
 {
   struct Request *req = cls;
-  
+
   req->qe = NULL;
   GNUNET_break (0 == memcmp (zone,
                             &req->zone->key,