提交 44a877aa 编写于 作者: L Lutz Jänicke

Fix incorrect return value in apps/apps.c:parse_yesno()

PR: 1607
Submitted by: "Christophe Macé" <mace.christophe@gmail.com>
上级 6b6fe3d8
......@@ -2030,7 +2030,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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册