diff options
author | nicm <nicm> | 2014-09-01 21:50:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-09-01 21:50:18 +0000 |
commit | 4e956d545a52fe6b8310cfb30a26a89976d55cd9 (patch) | |
tree | 844bd6314773b818cfaa7158a7b9e58347f30085 /cmd-set-option.c | |
parent | e07519804957d5c41aa70e7f1132e29fe5f84862 (diff) | |
download | rtmux-4e956d545a52fe6b8310cfb30a26a89976d55cd9.tar.gz rtmux-4e956d545a52fe6b8310cfb30a26a89976d55cd9.tar.bz2 rtmux-4e956d545a52fe6b8310cfb30a26a89976d55cd9.zip |
Various minor style and spacing nits.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index d4743d55..5cea4932 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -201,7 +201,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq) /* Set user option. */ enum cmd_retval -cmd_set_option_user(struct cmd *self, struct cmd_q *cmdq, const char* optstr, +cmd_set_option_user(struct cmd *self, struct cmd_q *cmdq, const char *optstr, const char *valstr) { struct args *args = self->args; @@ -254,7 +254,7 @@ cmd_set_option_user(struct cmd *self, struct cmd_q *cmdq, const char* optstr, if (args_has(args, 'o') && options_find1(oo, optstr) != NULL) { if (!args_has(args, 'q')) { cmdq_error(cmdq, "already set: %s", optstr); - return CMD_RETURN_ERROR; + return (CMD_RETURN_ERROR); } return (CMD_RETURN_NORMAL); } |