From 5f94636b91ee0fc676000fa5707c1309e652b8f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 10 Mar 2020 19:19:38 +0100 Subject: [PATCH] irc: rename argument in function irc_protocol_is_numeric_command --- src/plugins/irc/irc-protocol.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 2c2cd6b66..742db405d 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -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;