projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5eca48
)
i simply do not learn
author
Philipp Tölke
<toelke@in.tum.de>
Wed, 26 Oct 2011 12:30:43 +0000
(12:30 +0000)
committer
Philipp Tölke
<toelke@in.tum.de>
Wed, 26 Oct 2011 12:30:43 +0000
(12:30 +0000)
src/vpn/gnunet-service-dns.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-service-dns.c
b/src/vpn/gnunet-service-dns.c
index 7e649d88b2f532dab4ca17e7e0e54261bf8d32ff..47e8cc8ae7f6892bc210a8886f875eb5a794567d 100644
(file)
--- a/
src/vpn/gnunet-service-dns.c
+++ b/
src/vpn/gnunet-service-dns.c
@@
-821,7
+821,7
@@
receive_query (void *cls
query_states[dns->s.id].namelen);
int i;
- for (i= 0; i <
pdns->s.qdcount
; i++)
+ for (i= 0; i <
ntohs(pdns->s.qdcount)
; i++)
{
if (pdns->queries[i]->qtype == htons(28) ||
pdns->queries[i]->qtype == htons(28))