]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
config: fix bool argument parsing
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 12 Mar 2009 23:19:01 +0000 (16:19 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 12 Mar 2009 23:19:28 +0000 (16:19 -0700)
src/config.h

index 634b4b849deb7846197eb9fc27c882d99d8173b9..0156b2590001e02b5d232f3d5df195f03c020ec8 100644 (file)
@@ -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"); \