aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-03 13:13:25 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-03 13:13:25 +0000
commit608105fe25c5f647b92933d46ba8b9074a46b16d (patch)
tree383a26fe748c770cd55844e5bf1ab6e163d5ea64 /src/dns
parent201958e5686cba96f1c08d23b44458cec9bc4519 (diff)
downloadgnunet-608105fe25c5f647b92933d46ba8b9074a46b16d.tar.gz
gnunet-608105fe25c5f647b92933d46ba8b9074a46b16d.zip
-bugfixes
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/dnsstub.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dns/dnsstub.c b/src/dns/dnsstub.c
index 0c3bf0ef3..273160e8a 100644
--- a/src/dns/dnsstub.c
+++ b/src/dns/dnsstub.c
@@ -87,6 +87,9 @@ struct GNUNET_DNSSTUB_RequestSocket
87}; 87};
88 88
89 89
90/**
91 * Handle to the stub resolver.
92 */
90struct GNUNET_DNSSTUB_Context 93struct GNUNET_DNSSTUB_Context
91{ 94{
92 95
@@ -509,7 +512,7 @@ GNUNET_DNSSTUB_stop (struct GNUNET_DNSSTUB_Context *ctx)
509{ 512{
510 unsigned int i; 513 unsigned int i;
511 514
512 for (i=0;i<=UINT16_MAX;i++) 515 for (i=0;i<DNS_SOCKET_MAX;i++)
513 cleanup_rs (&ctx->sockets[i]); 516 cleanup_rs (&ctx->sockets[i]);
514 if (NULL != ctx->dns_exit) 517 if (NULL != ctx->dns_exit)
515 { 518 {