mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Fix bustage on Sun workshop compiler (nebiros tinderbox) by putting in |const| where we really ought to need it anyway. r=cls
This commit is contained in:
parent
10b8fb461b
commit
4217b6b507
@ -429,8 +429,8 @@ nsHTTPConn::ParseURL(const char *aProto, char *aURL, char **aHost,
|
||||
void
|
||||
nsHTTPConn::ParseContentLength(const char *aBuf, int *aLength)
|
||||
{
|
||||
char *clHdr; // Content-length header line start
|
||||
char *eol, *pos;
|
||||
const char *clHdr; // Content-length header line start
|
||||
const char *eol, *pos;
|
||||
char clNameStr1[16] = "Content-length:";
|
||||
char clNameStr2[16] = "Content-Length:";
|
||||
char *clNameStr = clNameStr1;
|
||||
|
Loading…
Reference in New Issue
Block a user