summaryrefslogtreecommitdiff
path: root/src/auth.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-01-02 19:18:06 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-01-02 19:18:06 -0300
commit58e0045791b62f309066e446a314cd26bc277a8b (patch)
treed2859f473387d716e98faee8c5f72817ca284712 /src/auth.c
parent362a3b67783e84a68d1e778b2d6df025d056833c (diff)
Ensure that the dlib dStr* functions are used everywhere.
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth.c b/src/auth.c
index 41388485..e0bd62a8 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -234,7 +234,7 @@ static int Auth_parse_token_value(AuthParse_t *auth_parse, char **auth)
/* is this value the realm? */
set_realm =
auth_parse->realm == NULL &&
- strncasecmp(realm_token,token,token_size) == 0 &&
+ dStrncasecmp(realm_token,token,token_size) == 0 &&
strlen(realm_token) == token_size;
return Auth_parse_quoted_string(auth_parse, set_realm, auth);
@@ -275,7 +275,7 @@ static void Auth_parse_auth_basic(AuthParse_t *auth_parse, char **auth)
static void Auth_parse_auth(AuthParse_t *auth_parse, char *auth)
{
_MSG("auth.c: Auth_parse_auth: auth = '%s'\n", auth);
- if (strncasecmp(auth, "Basic ", 6) == 0) {
+ if (dStrncasecmp(auth, "Basic ", 6) == 0) {
auth += 6;
Auth_parse_auth_basic(auth_parse, &auth);
} else {