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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user