rgw: fix str_to_bool

This commit is contained in:
Yehuda Sadeh 2011-03-24 14:24:11 -07:00
parent a9633ce6c5
commit d053f53fdd

View File

@ -326,7 +326,7 @@ static inline int rgw_str_to_bool(const char *s, int def_val)
return (strcasecmp(s, "on") == 0 ||
strcasecmp(s, "yes") == 0 ||
strcasecmp(s, "1"));
strcasecmp(s, "1") == 0);
}
/** */