aboutsummaryrefslogtreecommitdiff
path: root/cmd-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-string.c')
-rw-r--r--cmd-string.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd-string.c b/cmd-string.c
index 45677310..ab8e49b4 100644
--- a/cmd-string.c
+++ b/cmd-string.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-string.c,v 1.8 2008-12-08 16:19:51 nicm Exp $ */
+/* $Id: cmd-string.c,v 1.9 2008-12-10 19:50:35 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -132,7 +132,8 @@ cmd_string_parse(const char *s, struct cmd **cmd, char **cause)
goto out;
if ((*cmd = cmd_parse(argc, argv, cause)) == NULL)
- goto error;
+ goto out;
+
rval = 0;
goto out;
default: