summaryrefslogtreecommitdiffstats
path: root/cmd-string.c
authornicm <nicm>2008-12-10 19:50:35 (GMT)
committer nicm <nicm>2008-12-10 19:50:35 (GMT)
commitb3ef332f0e596be75b434ed8ee9ac9b4a196891d (patch) (side-by-side diff)
tree51bc60a84ccd3ec293b7a406b89777abb80e3d42 /cmd-string.c
parent8256adb023f35b3474ddac0c447c27df20995a23 (diff)
downloadtmux-old-b3ef332f0e596be75b434ed8ee9ac9b4a196891d.zip
tmux-old-b3ef332f0e596be75b434ed8ee9ac9b4a196891d.tar.gz
tmux-old-b3ef332f0e596be75b434ed8ee9ac9b4a196891d.tar.bz2
Even better, use cause.
Diffstat (limited to 'cmd-string.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-string.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-string.c b/cmd-string.c
index 111c599..35a3b4c 100644
--- a/cmd-string.c
+++ b/cmd-string.c
@@ -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: