diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-12-20 16:21:35 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-12-20 16:21:35 +0000 |
commit | 313505b2679f00d6bab0f271347ad61ae9cd74cc (patch) | |
tree | 4f25ce9ee07593710d6c3c90df2eec9b6148a2cf /src/gns/gnunet-service-gns.c | |
parent | fa1999c564482883e15e54fdcbbae50e75427bdf (diff) | |
download | gnunet-313505b2679f00d6bab0f271347ad61ae9cd74cc.tar.gz gnunet-313505b2679f00d6bab0f271347ad61ae9cd74cc.zip |
- fix ntohl called on uint16_t
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r-- | src/gns/gnunet-service-gns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index 5ad992b77..87dfed246 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c | |||
@@ -788,7 +788,7 @@ handle_lookup (void *cls, | |||
788 | ntohl (sh_msg->type), | 788 | ntohl (sh_msg->type), |
789 | name, | 789 | name, |
790 | key, | 790 | key, |
791 | ntohl (sh_msg->only_cached), | 791 | ntohs (sh_msg->only_cached), |
792 | &send_lookup_response, clh); | 792 | &send_lookup_response, clh); |
793 | GNUNET_STATISTICS_update (statistics, | 793 | GNUNET_STATISTICS_update (statistics, |
794 | "Lookup attempts", | 794 | "Lookup attempts", |