aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/validator/autotrust.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2015-01-03 02:40:51 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2015-01-03 02:40:51 +0000
commitff8258499cd4a5a2a522c985cd7592a7904d973f (patch)
tree517112650e062389edd63da1826a21d706d4d9db /contrib/unbound/validator/autotrust.c
parenta785304fb2bb1a2720f67502d93a9ec30b3ddabe (diff)
parentd433784affd32a879670e66bcf330b2561342f3c (diff)
downloadsrc-ff8258499cd4a5a2a522c985cd7592a7904d973f.tar.gz
src-ff8258499cd4a5a2a522c985cd7592a7904d973f.zip
Upgrade to Unbound 1.5.1. Almost all our local changes to date have been
adopted upstream, greatly reducing the diff.
Notes
Notes: svn path=/head/; revision=276605
Diffstat (limited to 'contrib/unbound/validator/autotrust.c')
-rw-r--r--contrib/unbound/validator/autotrust.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/unbound/validator/autotrust.c b/contrib/unbound/validator/autotrust.c
index a597633828f5..5e1dc4ef3cdb 100644
--- a/contrib/unbound/validator/autotrust.c
+++ b/contrib/unbound/validator/autotrust.c
@@ -902,13 +902,13 @@ static int
handle_origin(char* line, uint8_t** origin, size_t* origin_len)
{
size_t len = 0;
- while(isspace((int)*line))
+ while(isspace((unsigned char)*line))
line++;
if(strncmp(line, "$ORIGIN", 7) != 0)
return 0;
free(*origin);
line += 7;
- while(isspace((int)*line))
+ while(isspace((unsigned char)*line))
line++;
*origin = sldns_str2wire_dname(line, &len);
*origin_len = len;