diff options
Diffstat (limited to 'src/namestore/namestore_api.c')
-rw-r--r-- | src/namestore/namestore_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index 49ab4b442..f96fc88cf 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c | |||
@@ -300,7 +300,8 @@ handle_lookup_name_response (struct GNUNET_NAMESTORE_QueueEntry *qe, | |||
300 | signature = &msg->signature; | 300 | signature = &msg->signature; |
301 | if (name_len == 0) | 301 | if (name_len == 0) |
302 | name = NULL; | 302 | name = NULL; |
303 | if ((name != NULL) && (signature != NULL) && (rd_count > 0)) | 303 | |
304 | if (name != NULL) | ||
304 | public_key_tmp = &msg->public_key; | 305 | public_key_tmp = &msg->public_key; |
305 | else | 306 | else |
306 | public_key_tmp = NULL; | 307 | public_key_tmp = NULL; |