mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 01:33:12 +02:00
irc: rename argument in function irc_protocol_is_numeric_command
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user