diff options
author | xrs <xrs@mail36.net> | 2018-06-26 14:11:07 +0200 |
---|---|---|
committer | xrs <xrs@mail36.net> | 2018-06-26 14:11:07 +0200 |
commit | 585793ee0d0fd13939188fe0bf6279acd3d2b8ea (patch) | |
tree | a32561bb971b1d023cbed8cd29a08ad3f2b54910 /src | |
parent | 61912531ba7971fb42afc4615d18122e1c9df913 (diff) | |
parent | 62bf68287df9470ca6fb9134831cd137c06e0c22 (diff) | |
download | gnunet-585793ee0d0fd13939188fe0bf6279acd3d2b8ea.tar.gz gnunet-585793ee0d0fd13939188fe0bf6279acd3d2b8ea.zip |
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src')
-rw-r--r-- | src/util/dnsstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/dnsstub.c b/src/util/dnsstub.c index 8b5b20f3c..5b84e6e63 100644 --- a/src/util/dnsstub.c +++ b/src/util/dnsstub.c | |||
@@ -354,7 +354,7 @@ do_dns_read (struct GNUNET_DNSSTUB_RequestSocket *rs, | |||
354 | "Received DNS response from server we never asked (ignored)"); | 354 | "Received DNS response from server we never asked (ignored)"); |
355 | return GNUNET_NO; | 355 | return GNUNET_NO; |
356 | } | 356 | } |
357 | if (sizeof (struct GNUNET_TUN_DnsHeader) > r) | 357 | if (sizeof (struct GNUNET_TUN_DnsHeader) > (size_t) r) |
358 | { | 358 | { |
359 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 359 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
360 | _("Received DNS response that is too small (%u bytes)"), | 360 | _("Received DNS response that is too small (%u bytes)"), |