зеркало из https://github.com/mozilla/pjs.git
Bug 129533 |Cannot use const char* to initialize char*| bustage
r=bryner sr=darin a=asa
This commit is contained in:
Родитель
7440876356
Коммит
ea1f46ab67
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче