summaryrefslogtreecommitdiff
path: root/src/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hello.c')
-rw-r--r--src/hello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hello.c b/src/hello.c
index 275150a4..b2d1d300 100644
--- a/src/hello.c
+++ b/src/hello.c
@@ -24,12 +24,12 @@
static COMMAND_HELPER(handle_hello_args, const char **sep, const char **name)
{
- if (argc > 1)
+ if (CMD_ARGC > 1)
{
LOG_ERROR("%s: too many arguments", CMD_NAME);
return ERROR_COMMAND_SYNTAX_ERROR;
}
- if (1 == argc)
+ if (1 == CMD_ARGC)
{
*sep = " ";
*name = args[0];