From 57477f9da98d2bb9cc52c997932ef07d59cf8917 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 27 Mar 2007 11:06:50 +0000 Subject: Fixed command parsing: now "/*" is not considered any more as a command (task #6684) --- src/common/command.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/command.c') diff --git a/src/common/command.c b/src/common/command.c index 372993d9f..9729f73df 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -792,6 +792,9 @@ int is_command (char *line) { char *pos_slash, *pos_space; + + if (strncmp (line, "/*", 2) == 0) + return 0; pos_slash = strchr (line + 1, '/'); pos_space = strchr (line + 1, ' '); -- cgit v1.2.3