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:
cb5db4e
)
fix use of uninitialized ID after last refactoring
author
Christian Grothoff
<christian@grothoff.org>
Thu, 23 Feb 2017 21:53:24 +0000
(22:53 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 23 Feb 2017 21:55:31 +0000
(22:55 +0100)
src/pt/gnunet-daemon-pt.c
patch
|
blob
|
history
diff --git
a/src/pt/gnunet-daemon-pt.c
b/src/pt/gnunet-daemon-pt.c
index 97ac8e9611f7abb3cd9150876d883300cd52b41e..54556cc52c3ea4462025929ea9bd8745ebff31ab 100644
(file)
--- a/
src/pt/gnunet-daemon-pt.c
+++ b/
src/pt/gnunet-daemon-pt.c
@@
-864,14
+864,13
@@
handle_dns_response (void *cls,
const struct DnsResponseMessage *msg)
{
struct CadetExit *exit = cls;
- struct GNUNET_TUN_DnsHeader dns;
size_t mlen;
struct RequestContext *rc;
mlen = ntohs (msg->header.size) - sizeof (*msg);
for (rc = exit->receive_queue_head; NULL != rc; rc = rc->next)
{
- if (dns.id == rc->dns_id)
+ if (
msg->
dns.id == rc->dns_id)
{
GNUNET_STATISTICS_update (stats,
gettext_noop ("# DNS replies received"),