From c8d8bc3cfda21546bc93dbb3a79a5b908ab105bd Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" Date: Mon, 1 Apr 2002 19:58:02 +0000 Subject: [PATCH] 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 --- mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp index 6a64f092ef2..74cd8f97cbb 100644 --- a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp +++ b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp @@ -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;