Fix incorrect return value in apps/apps.c:parse_yesno()
PR: 1607 Submitted by: "Christophe Macé" <mace.christophe@gmail.com>
This commit is contained in:
parent
1dff425999
commit
bf2b87aea3
@ -2010,7 +2010,7 @@ int parse_yesno(const char *str, int def)
|
||||
case 'y': /* yes */
|
||||
case 'Y': /* YES */
|
||||
case '1': /* 1 */
|
||||
ret = 0;
|
||||
ret = 1;
|
||||
break;
|
||||
default:
|
||||
ret = def;
|
||||
|
Loading…
x
Reference in New Issue
Block a user