Fix for bug 100595. Resetting cursor after buffer has been prepended with the boundary string. r/sr=darin/dougt

This commit is contained in:
gagan%netscape.com 2001-10-31 23:51:38 +00:00
parent 0cdb544041
commit 3bcf4f269a

View File

@ -453,6 +453,8 @@ nsMultiMixedConv::OnDataAvailable(nsIRequest *request, nsISupports *context,
nsCRT::memcpy(tmp+mTokenLen+1, cursor, read);
nsMemory::Free(buffer);
buffer = tmp;
// need to reset cursor to the buffer again (bug 100595)
cursor = buffer;
}
}