projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4391624
)
Fix logic error
author
Sam Hartman
<hartmans@painless-security.com>
Wed, 18 Jan 2012 18:48:28 +0000
(13:48 -0500)
committer
Sam Hartman
<hartmans@painless-security.com>
Wed, 18 Jan 2012 18:48:28 +0000
(13:48 -0500)
mech_eap/util_moonshot.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_moonshot.c
b/mech_eap/util_moonshot.c
index
7424fb5
..
46282e8
100644
(file)
--- a/
mech_eap/util_moonshot.c
+++ b/
mech_eap/util_moonshot.c
@@
-132,10
+132,10
@@
cleanup:
static int stringEmpty(const char * s)
{
if (s == NULL)
-
return 0
;
+
return 1
;
if (strlen(s) > 0)
- return
1
;
- return
0
;
+ return
0
;
+ return
1
;
}
OM_uint32