Parent Directory | Revision Log | Patch
revision 1.8 by chopp, Wed Sep 3 15:29:29 2003 UTC | revision 1.9 by martinp, Wed Sep 3 16:00:12 2003 UTC | |
---|---|---|
# | Line 132 int check_ldap3(Socket_T s) { | Line 132 int check_ldap3(Socket_T s) { |
132 | return FALSE; | return FALSE; |
133 | } | } |
134 | ||
135 | if(strncmp((char *)buf, | if(memcmp((unsigned char *)buf, |
136 | (char *)response, | (unsigned char *)response, |
137 | sizeof(response))) { | sizeof(response))) { |
138 | log("LDAP: anonymous bind failed\n"); | log("LDAP: anonymous bind failed\n"); |
139 | return FALSE; | return FALSE; |
140 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |