mirror of
https://github.com/samba-team/samba.git
synced 2025-11-13 08:23:49 +03:00
r2432: more string function updates.
btw, the reason I want to use strncasecmp() instead of StrnCaseCmp() is that the Samba internal functions are built to deal with multi-byte, whereas in the cases I am converting we know we are dealing with solely ascii string constants, so going via the slow conversion libraries is pointless.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
a1b5880b2e
commit
cef08d5789
@@ -1121,7 +1121,7 @@ BOOL ldap_parse_basic_url(TALLOC_CTX *mem_ctx, const char *url,
|
||||
const char *p = url;
|
||||
|
||||
/* skip leading "URL:" (if any) */
|
||||
if ( strnequal( p, "URL:", 4 ) ) {
|
||||
if (strncasecmp( p, "URL:", 4) == 0) {
|
||||
p += 4;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user