Even better, use cause.

pull/1/head
Nicholas Marriott 2008-12-10 19:50:35 +00:00
parent 7a82e86827
commit 3b2859e9dc
1 changed files with 3 additions and 2 deletions

View File

@ -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: