aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-07 14:08:42 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-07 14:08:42 +0000
commit744699bfdfd0eb37431ab8354bc3d866251fbec7 (patch)
tree7a0bfe812e333a109ac940a1b3c40907947ab472 /src/gnsrecord
parent6718313b71aae9327491c28c741bba39e855e721 (diff)
downloadgnunet-744699bfdfd0eb37431ab8354bc3d866251fbec7.tar.gz
gnunet-744699bfdfd0eb37431ab8354bc3d866251fbec7.zip
-fix return value check
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/plugin_gnsrecord_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnsrecord/plugin_gnsrecord_dns.c b/src/gnsrecord/plugin_gnsrecord_dns.c
index 5d700ab8d..0761e687f 100644
--- a/src/gnsrecord/plugin_gnsrecord_dns.c
+++ b/src/gnsrecord/plugin_gnsrecord_dns.c
@@ -551,7 +551,7 @@ dns_string_to_value (void *cls,
551 unsigned int port; 551 unsigned int port;
552 size_t off; 552 size_t off;
553 553
554 if (2 != SSCANF(s, 554 if (4 != SSCANF(s,
555 "%u %u %u %253s", 555 "%u %u %u %253s",
556 &priority, 556 &priority,
557 &weight, 557 &weight,