converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp

git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cathleen%netscape.com
2002-01-12 03:18:55 +00:00
parent e988595605
commit ea31156ed0
133 changed files with 295 additions and 290 deletions

View File

@@ -4382,7 +4382,7 @@ AHTC_WriteFunc(nsIInputStream * in,
}
memset(headersBuf, nsnull, rawSegmentLen + headersBufLen + 1);
// copy the old buffer to the beginning of the new buffer
nsCRT::memcpy(headersBuf, pHeadersBuf, headersBufLen);
memcpy(headersBuf, pHeadersBuf, headersBufLen);
// free the old buffer
nsCRT::free(pHeadersBuf);
// make the buffer pointer point to the writeable part
@@ -4394,7 +4394,7 @@ AHTC_WriteFunc(nsIInputStream * in,
// at this point, pHeadersBuf points to where we should copy bits
// from fromRawSegment.
nsCRT::memcpy(pHeadersBuf, fromRawSegment, rawSegmentLen);
memcpy(pHeadersBuf, fromRawSegment, rawSegmentLen);
// null termination
headersBuf[headersBufLen] = nsnull;
*((char **) closure) = headersBuf;