Fixup for nsurl urldb.

This commit is contained in:
Michael Drake 2012-10-09 11:20:21 +01:00
parent 4fb0e9f4d6
commit af89fdb38a

View File

@ -1453,7 +1453,7 @@ static nserror llcache_fetch_auth(llcache_object *object, const char *realm)
if (realm == NULL) if (realm == NULL)
realm = nsurl_access(object->url); realm = nsurl_access(object->url);
auth = urldb_get_auth_details(nsurl_access(object->url), realm); auth = urldb_get_auth_details(object->url, realm);
if (auth == NULL || object->fetch.tried_with_auth == true) { if (auth == NULL || object->fetch.tried_with_auth == true) {
/* No authentication details, or tried what we had, so ask */ /* No authentication details, or tried what we had, so ask */