diff options
Diffstat (limited to 'src/gns/gns_api.c')
-rw-r--r-- | src/gns/gns_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c index ff67f0205..ed30fa44c 100644 --- a/src/gns/gns_api.c +++ b/src/gns/gns_api.c | |||
@@ -157,7 +157,7 @@ check_result (void *cls, | |||
157 | size_t mlen = ntohs (lookup_msg->header.size) - sizeof (*lookup_msg); | 157 | size_t mlen = ntohs (lookup_msg->header.size) - sizeof (*lookup_msg); |
158 | uint32_t rd_count = ntohl (lookup_msg->rd_count); | 158 | uint32_t rd_count = ntohl (lookup_msg->rd_count); |
159 | struct GNUNET_GNSRECORD_Data rd[rd_count]; | 159 | struct GNUNET_GNSRECORD_Data rd[rd_count]; |
160 | 160 | ||
161 | (void) cls; | 161 | (void) cls; |
162 | if (GNUNET_SYSERR == | 162 | if (GNUNET_SYSERR == |
163 | GNUNET_GNSRECORD_records_deserialize (mlen, | 163 | GNUNET_GNSRECORD_records_deserialize (mlen, |
@@ -201,7 +201,7 @@ handle_result (void *cls, | |||
201 | return; | 201 | return; |
202 | proc = lr->lookup_proc; | 202 | proc = lr->lookup_proc; |
203 | proc_cls = lr->proc_cls; | 203 | proc_cls = lr->proc_cls; |
204 | 204 | ||
205 | GNUNET_assert (GNUNET_OK == | 205 | GNUNET_assert (GNUNET_OK == |
206 | GNUNET_GNSRECORD_records_deserialize (mlen, | 206 | GNUNET_GNSRECORD_records_deserialize (mlen, |
207 | (const char*) &lookup_msg[1], | 207 | (const char*) &lookup_msg[1], |