From: Christian Grothoff Date: Wed, 18 Apr 2018 13:44:45 +0000 (+0200) Subject: fix deref X-Git-Tag: v0.11.0pre66~94^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd32d04fb670e6feebe6c737e17e13675ac744b3;p=oweals%2Fgnunet.git fix deref --- diff --git a/src/namestore/gnunet-zoneimport.c b/src/namestore/gnunet-zoneimport.c index 0148f42a7..4f4151c94 100644 --- a/src/namestore/gnunet-zoneimport.c +++ b/src/namestore/gnunet-zoneimport.c @@ -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,