Commit 8a01ed70 authored by Wei Tang's avatar Wei Tang Committed by David S. Miller

net: the space is required before the open parenthesis '('

The space is missing before the open parenthesis '(', and this
will introduce much more noise when checking patch around.
Signed-off-by: default avatarWei Tang <tangwei@cmss.chinamobile.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5eca2914
......@@ -133,7 +133,7 @@ int in4_pton(const char *src, int srclen,
s = src;
d = dbuf;
i = 0;
while(1) {
while (1) {
int c;
c = xdigit2bin(srclen > 0 ? *s : '\0', delim);
if (!(c & (IN6PTON_DIGIT | IN6PTON_DOT | IN6PTON_DELIM | IN6PTON_COLON_MASK))) {
......@@ -283,11 +283,11 @@ int in6_pton(const char *src, int srclen,
i = 15; d--;
if (dc) {
while(d >= dc)
while (d >= dc)
dst[i--] = *d--;
while(i >= dc - dbuf)
while (i >= dc - dbuf)
dst[i--] = 0;
while(i >= 0)
while (i >= 0)
dst[i--] = *d--;
} else
memcpy(dst, dbuf, sizeof(dbuf));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment