irc: rename argument in function irc_protocol_is_numeric_command

v2.8-utf8proc
Sébastien Helleu 2020-03-10 19:19:38 +01:00
parent 2fe27584ff
commit 5f94636b91
1 changed files with 5 additions and 5 deletions

View File

@ -67,16 +67,16 @@
*/
int
irc_protocol_is_numeric_command (const char *str)
irc_protocol_is_numeric_command (const char *command)
{
if (!str || !str[0])
if (!command || !command[0])
return 0;
while (str && str[0])
while (command && command[0])
{
if (!isdigit ((unsigned char)str[0]))
if (!isdigit ((unsigned char)command[0]))
return 0;
str++;
command++;
}
return 1;