diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2015-02-03 10:40:03 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2015-02-03 10:40:03 +0000 |
commit | cf1cc724ae7fd001273261628347cd83ead24a70 (patch) | |
tree | 4558cb97e5ad53f58852f7de92d61dd974dfeb4b /usr.sbin/nsd/xfrd-disk.c | |
parent | 7d5f380457844eff99cd814a991194c91434ff50 (diff) |
merge conflicts
Diffstat (limited to 'usr.sbin/nsd/xfrd-disk.c')
-rw-r--r-- | usr.sbin/nsd/xfrd-disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nsd/xfrd-disk.c b/usr.sbin/nsd/xfrd-disk.c index a2f3e8af01d..3fa863077ea 100644 --- a/usr.sbin/nsd/xfrd-disk.c +++ b/usr.sbin/nsd/xfrd-disk.c @@ -371,7 +371,7 @@ static void xfrd_write_dname(FILE* out, uint8_t* dname) for(i=0; i<len; i++) { uint8_t ch = *d++; - if (isalnum(ch) || ch == '-' || ch == '_') { + if (isalnum((unsigned char)ch) || ch == '-' || ch == '_') { fprintf(out, "%c", ch); } else if (ch == '.' || ch == '\\') { fprintf(out, "\\%c", ch); |