mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +00:00
Even better, use cause.
This commit is contained in:
parent
7a82e86827
commit
3b2859e9dc
@ -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>
|
* 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;
|
goto out;
|
||||||
|
|
||||||
if ((*cmd = cmd_parse(argc, argv, cause)) == NULL)
|
if ((*cmd = cmd_parse(argc, argv, cause)) == NULL)
|
||||||
goto error;
|
goto out;
|
||||||
|
|
||||||
rval = 0;
|
rval = 0;
|
||||||
goto out;
|
goto out;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user