projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b6fe3d
)
Fix incorrect return value in apps/apps.c:parse_yesno()
author
Lutz Jänicke
<jaenicke@openssl.org>
Thu, 17 Apr 2008 14:15:27 +0000
(14:15 +0000)
committer
Lutz Jänicke
<jaenicke@openssl.org>
Thu, 17 Apr 2008 14:15:27 +0000
(14:15 +0000)
PR: 1607
Submitted by: "Christophe Macé" <mace.christophe@gmail.com>
apps/apps.c
patch
|
blob
|
history
diff --git
a/apps/apps.c
b/apps/apps.c
index 5b012448459399ed3052e910a636ec4ed4ff65ca..2a7329fc20b4277a8b737ec138a917b562e0aa3b 100644
(file)
--- 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;