diff --git a/silentdl/nsSilentDownload.cpp b/silentdl/nsSilentDownload.cpp index 4c177244dea..70a795ff016 100644 --- a/silentdl/nsSilentDownload.cpp +++ b/silentdl/nsSilentDownload.cpp @@ -1361,7 +1361,7 @@ nsSilentDownloadListener::OnDataAvailable(nsIURL* aURL, nsIInputStream *pIStream do { - err = pIStream->Read(buffer, 0, 80, &len); + err = pIStream->Read(buffer, 80, &len); if (err == NS_OK) { mSilentDownloadTask->GetNextByte(&nextByte);