From 040a7baad0fa7c2901e44e5f5f63f0918d29ae97 Mon Sep 17 00:00:00 2001 From: "izsh.f0f" Date: Fri, 5 Feb 2010 01:06:53 +0000 Subject: [PATCH] client/cmdparser.c: Cosmetic changes. client/cmdlf.c: Add missing include for "WaitForResponse". --- client/cmdlf.c | 1 + client/cmdparser.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/cmdlf.c b/client/cmdlf.c index 80a9dc26..40bb8a21 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -5,6 +5,7 @@ #include "graph.h" #include "ui.h" #include "cmdparser.h" +#include "cmdmain.h" #include "cmddata.h" #include "cmdlf.h" #include "cmdlfhid.h" diff --git a/client/cmdparser.c b/client/cmdparser.c index 6fca29c2..74ae29bb 100644 --- a/client/cmdparser.c +++ b/client/cmdparser.c @@ -29,5 +29,5 @@ void CmdsParse(const command_t Commands[], const char *Cmd) Commands[i].Parse(Cmd + len); else // show help (always first in array) for selected hierarchy or if command not recognised - Commands[0].Parse("help"); + CmdsHelp(Commands); } -- 2.39.5