libratbox/src/commio.c: misc cleanup for compiler warning
commio.c:1269:17: warning: possible misuse of comma operator here [-Wcomma] What an ugly way to use commas!
This commit is contained in:
parent
82e920102f
commit
f54e6c3558
1 changed files with 4 additions and 1 deletions
|
@ -1266,7 +1266,10 @@ inet_ntop6(const unsigned char *src, char *dst, unsigned int size)
|
||||||
if(words[i] == 0)
|
if(words[i] == 0)
|
||||||
{
|
{
|
||||||
if(cur.base == -1)
|
if(cur.base == -1)
|
||||||
cur.base = i, cur.len = 1;
|
{
|
||||||
|
cur.base = i;
|
||||||
|
cur.len = 1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
cur.len++;
|
cur.len++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue