whitespace nicer.

git-svn-id: file:///svn/unbound/trunk@3245 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2014-10-13 12:14:43 +00:00
parent f1bcc1032f
commit 588532af80
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ void *memmove(void *dest, const void *src, size_t n)
to[i] = from[i]; to[i] = from[i];
return dest; return dest;
} }
if (from > to && from-to < (int)n) { if (from > to && from-to < (int)n) {
/* to overlaps with from */ /* to overlaps with from */
/* <from......> */ /* <from......> */
/* <to........> */ /* <to........> */

View File

@ -288,9 +288,9 @@ sldns_parse_escape(uint8_t *ch_p, const char** str_p)
{ {
uint16_t val; uint16_t val;
if ((*str_p)[0] && isdigit((unsigned char)(*str_p)[0]) && if ((*str_p)[0] && isdigit((unsigned char)(*str_p)[0]) &&
(*str_p)[1] && isdigit((unsigned char)(*str_p)[1]) && (*str_p)[1] && isdigit((unsigned char)(*str_p)[1]) &&
(*str_p)[2] && isdigit((unsigned char)(*str_p)[2])) { (*str_p)[2] && isdigit((unsigned char)(*str_p)[2])) {
val = (uint16_t)(((*str_p)[0] - '0') * 100 + val = (uint16_t)(((*str_p)[0] - '0') * 100 +
((*str_p)[1] - '0') * 10 + ((*str_p)[1] - '0') * 10 +