git.ucc.asn.au
/
matches
/
MCTX3420.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
797dd74
)
add fclose to shadow login
author
Jeremy Tan
<
[email protected]
>
Wed, 30 Oct 2013 01:22:57 +0000
(09:22 +0800)
committer
Jeremy Tan
<
[email protected]
>
Wed, 30 Oct 2013 01:24:18 +0000
(09:24 +0800)
server/login.c
patch
|
blob
|
history
diff --git
a/server/login.c
b/server/login.c
index
3445c04
..
f3209fa
100644
(file)
--- a/
server/login.c
+++ b/
server/login.c
@@
-170,6
+170,8
@@
UserType Login_Shadow(const char * user, const char * pass, const char * shadow)
passwd_index = -1;
}
+ fclose(f);
+
if (passwd_index <= 0)
{
//Log(LOGDEBUG,"No user found matching %s\n", user);
UCC
git Repository :: git.ucc.asn.au