From: Yehuda Sadeh Date: Thu, 12 Mar 2009 23:19:01 +0000 (-0700) Subject: config: fix bool argument parsing X-Git-Tag: v0.7.1^2~35 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f30c4a3b77b4755b4580dd4806c0e610c43512ac;p=ceph.git config: fix bool argument parsing --- diff --git a/src/config.h b/src/config.h index 634b4b849de..0156b259000 100644 --- a/src/config.h +++ b/src/config.h @@ -391,7 +391,7 @@ bool conf_cmd_equals(const char *cmd, const char *opt, char char_opt, unsigned i #define CONF_SAFE_SET_ARG_VAL(dest, type) \ do { \ if (type == OPT_BOOL) { \ - if (__isarg || val_pos) { \ + if (val_pos) { \ CONF_SET_ARG_VAL(dest, type); \ } else \ conf_set_conf_val(dest, type, "true"); \