[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 07/09: fix use of uninitialized ID after last refa
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 07/09: fix use of uninitialized ID after last refactoring |
Date: |
Thu, 23 Feb 2017 23:06:06 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 8f65dd2db3c32e12752592f76833dc66e0bd3f9e
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Feb 23 22:53:24 2017 +0100
fix use of uninitialized ID after last refactoring
---
src/pt/gnunet-daemon-pt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c
index 97ac8e961..54556cc52 100644
--- 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"),
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (caf375948 -> e86eed188), gnunet, 2017/02/23
- [GNUnet-SVN] [gnunet] 02/09: fix typo in example, gnunet, 2017/02/23
- [GNUnet-SVN] [gnunet] 07/09: fix use of uninitialized ID after last refactoring,
gnunet <=
- [GNUnet-SVN] [gnunet] 09/09: update .gitignore files, gnunet, 2017/02/23
- [GNUnet-SVN] [gnunet] 03/09: fix indentation, gnunet, 2017/02/23
- [GNUnet-SVN] [gnunet] 06/09: log which name we are resolving, gnunet, 2017/02/23
- [GNUnet-SVN] [gnunet] 04/09: fix indentation, typo, improve logging, gnunet, 2017/02/23
- [GNUnet-SVN] [gnunet] 05/09: change default port to 53, use setcap to enable binding to low port, gnunet, 2017/02/23
- [GNUnet-SVN] [gnunet] 01/09: fix termination, proper shutdown on CTRL-C, gnunet, 2017/02/23
- [GNUnet-SVN] [gnunet] 08/09: use of dns2gns proxy instead of DNS interceptor in VPN test, gnunet, 2017/02/23