diff options
author | Haru <haru@dotalux.com> | 2016-07-02 18:59:30 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-07-02 18:59:30 +0200 |
commit | 657d772c70e07afc2188c200247f73f03879884d (patch) | |
tree | 8cc574e9b772a975027839762f48d752c3334d21 /src/common/HPM.c | |
parent | 0b7498bd5c252094fd429b46be847dcd24066a2e (diff) | |
download | hercules-657d772c70e07afc2188c200247f73f03879884d.tar.gz hercules-657d772c70e07afc2188c200247f73f03879884d.tar.bz2 hercules-657d772c70e07afc2188c200247f73f03879884d.tar.xz hercules-657d772c70e07afc2188c200247f73f03879884d.zip |
Trivialities: indentation fixes
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPM.c')
-rw-r--r-- | src/common/HPM.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/HPM.c b/src/common/HPM.c index 02b675704..8e0bbe992 100644 --- a/src/common/HPM.c +++ b/src/common/HPM.c @@ -389,12 +389,12 @@ bool hpm_add_arg(unsigned int pluginID, char *name, bool has_param, CmdlineExecF ARR_FIND(0, VECTOR_LENGTH(cmdline->args_data), i, strcmp(VECTOR_INDEX(cmdline->args_data, i).name, name) == 0); - if (i != VECTOR_LENGTH(cmdline->args_data)) { - ShowError("HPM:add_arg:%s duplicate! (from %s)\n",name,HPM->pid2name(pluginID)); - return false; - } + if (i != VECTOR_LENGTH(cmdline->args_data)) { + ShowError("HPM:add_arg:%s duplicate! (from %s)\n",name,HPM->pid2name(pluginID)); + return false; + } - return cmdline->arg_add(pluginID, name, '\0', func, help, has_param ? CMDLINE_OPT_PARAM : CMDLINE_OPT_NORMAL); + return cmdline->arg_add(pluginID, name, '\0', func, help, has_param ? CMDLINE_OPT_PARAM : CMDLINE_OPT_NORMAL); } /** |