mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 423401 - Removed usage of nsDependentCString() r=kaie, r=honzab.moz a=bsmedberg
This commit is contained in:
parent
762d1067b6
commit
3aad557531
@ -234,14 +234,14 @@ SECStatus nsNSSHttpRequestSession::createFcn(SEC_HTTP_SERVER_SESSION session,
|
||||
rs->mTimeoutInterval = maxBug404059Timeout;
|
||||
}
|
||||
|
||||
rs->mURL.Append(nsDependentCString(http_protocol_variant));
|
||||
rs->mURL.Assign(http_protocol_variant);
|
||||
rs->mURL.AppendLiteral("://");
|
||||
rs->mURL.Append(hss->mHost);
|
||||
rs->mURL.AppendLiteral(":");
|
||||
rs->mURL.AppendInt(hss->mPort);
|
||||
rs->mURL.Append(path_and_query_string);
|
||||
|
||||
rs->mRequestMethod = nsDependentCString(http_request_method);
|
||||
rs->mRequestMethod = http_request_method;
|
||||
|
||||
*pRequest = (void*)rs;
|
||||
return SECSuccess;
|
||||
|
Loading…
Reference in New Issue
Block a user