]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
whitespace nicer.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 13 Oct 2014 12:14:43 +0000 (12:14 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 13 Oct 2014 12:14:43 +0000 (12:14 +0000)
git-svn-id: file:///svn/unbound/trunk@3245 be551aaa-1e26-0410-a405-d3ace91eadb9

compat/memmove.c
ldns/parseutil.c

index 0035bbf7533d8d7baefcf56b672336d1a3e9ac64..fe319bb49046bd2a18fe37ebfb490ea705a19c39 100644 (file)
@@ -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 */
                /*        <from......>   */
                /*  <to........>         */
index 5c070aae0399efa46831bc35a6c84481ea28394d..28b344ede749bf1999d6247569db70a0c0d82a7d 100644 (file)
@@ -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 +