diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-06 13:16:33 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-06 13:16:33 +0000 |
commit | 0a6ac36c18891cbff721def0f66dee9991c7c220 (patch) | |
tree | 7492ef52997a39a1b75137adf5beeca2f17cc892 /src/namestore/namestore_api.c | |
parent | 8a2654dc49fa54ab447313935a7af72f0be367e7 (diff) | |
download | gnunet-0a6ac36c18891cbff721def0f66dee9991c7c220.tar.gz gnunet-0a6ac36c18891cbff721def0f66dee9991c7c220.zip |
- fix
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; |