summaryrefslogtreecommitdiffstats
path: root/proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy.c b/proxy.c
index 786c1ed..dc11d26 100644
--- a/proxy.c
+++ b/proxy.c
@@ -967,7 +967,7 @@ static BOOL proxy_clientBindRequest(epoll_client_t *client, const unsigned long
printf("[Client] Anonymous bind accepted\n");
bodyLen = fmt_ldapbindresponse(bufoff, success, "", "main screen turn on", "");
} else {
- BOOL incorrect;
+ BOOL incorrect = FALSE;
server_t *server = server_getFromBase(&name);
if (server == NULL || (incorrect = (strncmp(password.s, "\x08\x0a\x0d\x7fINCORRECT", 13) == 0)) || isInt(&name, 0)) {
// The INCORRECT part is some weird thing I saw pam_ldap do - probably to identify misconfigured