From: Wouter Wijngaards Date: Mon, 13 Oct 2014 12:14:43 +0000 (+0000) Subject: whitespace nicer. X-Git-Tag: release-1.5.0rc1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=588532af8048834c0e882a7ebd8033d243fbd1b1;p=thirdparty%2Funbound.git whitespace nicer. git-svn-id: file:///svn/unbound/trunk@3245 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/compat/memmove.c b/compat/memmove.c index 0035bbf75..fe319bb49 100644 --- a/compat/memmove.c +++ b/compat/memmove.c @@ -28,7 +28,7 @@ void *memmove(void *dest, const void *src, size_t n) to[i] = from[i]; return dest; } - if (from > to && from-to < (int)n) { + if (from > to && from-to < (int)n) { /* to overlaps with from */ /* */ /* */ diff --git a/ldns/parseutil.c b/ldns/parseutil.c index 5c070aae0..28b344ede 100644 --- a/ldns/parseutil.c +++ b/ldns/parseutil.c @@ -288,9 +288,9 @@ sldns_parse_escape(uint8_t *ch_p, const char** str_p) { uint16_t val; - if ((*str_p)[0] && isdigit((unsigned char)(*str_p)[0]) && - (*str_p)[1] && isdigit((unsigned char)(*str_p)[1]) && - (*str_p)[2] && isdigit((unsigned char)(*str_p)[2])) { + if ((*str_p)[0] && isdigit((unsigned char)(*str_p)[0]) && + (*str_p)[1] && isdigit((unsigned char)(*str_p)[1]) && + (*str_p)[2] && isdigit((unsigned char)(*str_p)[2])) { val = (uint16_t)(((*str_p)[0] - '0') * 100 + ((*str_p)[1] - '0') * 10 +