Bug 129533 |Cannot use const char* to initialize char*| bustage
r=bryner sr=darin a=asa git-svn-id: svn://10.0.0.236/trunk@117865 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -482,7 +482,7 @@ nsFtpState::OnDataAvailable(nsIRequest *request,
|
||||
|
||||
const char* currLine = lines.get();
|
||||
while (*currLine) {
|
||||
char* eol = strstr(currLine, CRLF);
|
||||
const char* eol = strstr(currLine, CRLF);
|
||||
if (!eol) {
|
||||
mControlReadCarryOverBuf.Assign(currLine);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user