diff options
Diffstat (limited to 'src/librc/librc-misc.c')
-rw-r--r-- | src/librc/librc-misc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c index 08f5e4e4..da52f980 100644 --- a/src/librc/librc-misc.c +++ b/src/librc/librc-misc.c @@ -39,15 +39,15 @@ bool rc_yesno (const char *value) } if (strcasecmp (value, "yes") == 0 || - strcasecmp (value, "y") == 0 || - strcasecmp (value, "true") == 0 || - strcasecmp (value, "1") == 0) + strcasecmp (value, "y") == 0 || + strcasecmp (value, "true") == 0 || + strcasecmp (value, "1") == 0) return (true); if (strcasecmp (value, "no") != 0 && - strcasecmp (value, "n") != 0 && - strcasecmp (value, "false") != 0 && - strcasecmp (value, "0") != 0) + strcasecmp (value, "n") != 0 && + strcasecmp (value, "false") != 0 && + strcasecmp (value, "0") != 0) errno = EINVAL; return (false); |