summaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-26 09:32:18 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-26 09:32:18 +0000
commitbedd5d77bdc9736e223c964cee167f7472e843c8 (patch)
tree1ae2f99b9457477fd103149f867536a5509cd4e8 /src/gns/gnunet-service-gns.c
parent5c3665450b6f72088c1fabbe24f9149fc16fc97c (diff)
downloadgnunet-bedd5d77bdc9736e223c964cee167f7472e843c8.tar.gz
gnunet-bedd5d77bdc9736e223c964cee167f7472e843c8.zip
-fix uint16/uint32 confusion
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r--src/gns/gnunet-service-gns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c
index 5838dc740..26000e9d4 100644
--- a/src/gns/gnunet-service-gns.c
+++ b/src/gns/gnunet-service-gns.c
@@ -549,7 +549,7 @@ handle_lookup (void *cls,
549 } 549 }
550 sh_msg = (const struct GNUNET_GNS_ClientLookupMessage *) message; 550 sh_msg = (const struct GNUNET_GNS_ClientLookupMessage *) message;
551 GNUNET_SERVER_notification_context_add (nc, client); 551 GNUNET_SERVER_notification_context_add (nc, client);
552 if (GNUNET_YES == ntohl (sh_msg->have_key)) 552 if (GNUNET_YES == ntohs (sh_msg->have_key))
553 key = &sh_msg->shorten_key; 553 key = &sh_msg->shorten_key;
554 else 554 else
555 key = NULL; 555 key = NULL;