зеркало из https://github.com/mozilla/pjs.git
was using private |#defines| (in spite of the warning) from "nsCOMPtr.h" that happened to go away with this checkin. Should have been using |NS_STATIC_CAST| from "nscore.h". r={danm, hyatt}
This commit is contained in:
Родитель
60ce1bccdc
Коммит
61336fa215
|
@ -976,8 +976,8 @@ nsHTTPChannel::Authenticate(const char *iChallenge, nsIChannel **oChannel)
|
|||
// change this later to include other kinds of authentication. TODO
|
||||
if (NS_FAILED(rv = nsBasicAuth::Authenticate(
|
||||
mURI,
|
||||
NSCAP_STATIC_CAST(const char*, iChallenge),
|
||||
NSCAP_STATIC_CAST(const char*, newUserPass),
|
||||
NS_STATIC_CAST(const char*, iChallenge),
|
||||
NS_STATIC_CAST(const char*, newUserPass),
|
||||
getter_Copies(authString))))
|
||||
return rv; // Failed to construct an authentication string.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче