extensions/m_sendbans.c: misc cleanup for compiler warning
m_sendbans.c:76:15: warning: possible misuse of comma operator here [-Wcomma]
This commit is contained in:
parent
8952f21843
commit
daf1b4b9af
1 changed files with 4 additions and 1 deletions
|
@ -73,7 +73,10 @@ static const char *expand_xline(const char *mask)
|
|||
while (*p != '\0')
|
||||
{
|
||||
if (*p == ' ')
|
||||
*q++ = '\\', *q++ = 's';
|
||||
{
|
||||
*q++ = '\\';
|
||||
*q++ = 's';
|
||||
}
|
||||
else
|
||||
*q++ = *p;
|
||||
p++;
|
||||
|
|
Loading…
Reference in a new issue