From 23402315ce01071f30d7ec0c5ca7563ce41f1cc6 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Sun, 15 Nov 2009 08:15:59 -0800 Subject: command_handler: change 'args' to CMD_ARGV This patch converts all instances of 'args' in COMMAND_HANDLER routines to use CMD_ARGV macro. --- src/hello.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hello.c') diff --git a/src/hello.c b/src/hello.c index b2d1d300..df0cb026 100644 --- a/src/hello.c +++ b/src/hello.c @@ -32,7 +32,7 @@ static COMMAND_HELPER(handle_hello_args, const char **sep, const char **name) if (1 == CMD_ARGC) { *sep = " "; - *name = args[0]; + *name = CMD_ARGV[0]; } else *sep = *name = ""; -- cgit v1.2.3