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: Wei Tang <tangwei@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5eca2914f3
commit
8a01ed70eb
1 changed files with 4 additions and 4 deletions
|
@ -133,7 +133,7 @@ int in4_pton(const char *src, int srclen,
|
||||||
s = src;
|
s = src;
|
||||||
d = dbuf;
|
d = dbuf;
|
||||||
i = 0;
|
i = 0;
|
||||||
while(1) {
|
while (1) {
|
||||||
int c;
|
int c;
|
||||||
c = xdigit2bin(srclen > 0 ? *s : '\0', delim);
|
c = xdigit2bin(srclen > 0 ? *s : '\0', delim);
|
||||||
if (!(c & (IN6PTON_DIGIT | IN6PTON_DOT | IN6PTON_DELIM | IN6PTON_COLON_MASK))) {
|
if (!(c & (IN6PTON_DIGIT | IN6PTON_DOT | IN6PTON_DELIM | IN6PTON_COLON_MASK))) {
|
||||||
|
@ -283,11 +283,11 @@ cont:
|
||||||
i = 15; d--;
|
i = 15; d--;
|
||||||
|
|
||||||
if (dc) {
|
if (dc) {
|
||||||
while(d >= dc)
|
while (d >= dc)
|
||||||
dst[i--] = *d--;
|
dst[i--] = *d--;
|
||||||
while(i >= dc - dbuf)
|
while (i >= dc - dbuf)
|
||||||
dst[i--] = 0;
|
dst[i--] = 0;
|
||||||
while(i >= 0)
|
while (i >= 0)
|
||||||
dst[i--] = *d--;
|
dst[i--] = *d--;
|
||||||
} else
|
} else
|
||||||
memcpy(dst, dbuf, sizeof(dbuf));
|
memcpy(dst, dbuf, sizeof(dbuf));
|
||||||
|
|
Loading…
Reference in a new issue