diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2008-04-17 14:15:27 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2008-04-17 14:15:27 +0000 |
commit | 44a877aa88fefc82a991c76e24620824ff2a3d98 (patch) | |
tree | d42ebfcf3ade024c3898713fd59bd008390bda50 /apps/apps.c | |
parent | 6b6fe3d8e4a1ec0f79ad8323933ce29f50261eee (diff) |
Fix incorrect return value in apps/apps.c:parse_yesno()
PR: 1607
Submitted by: "Christophe Macé" <mace.christophe@gmail.com>
Diffstat (limited to 'apps/apps.c')
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c index 5b01244845..2a7329fc20 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -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; |