Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: net/quic/quic_packet_creator.cc

Issue 2192623002: Change memmove's back into memcpy's. No functional change. Not flag protected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator.cc
diff --git a/net/quic/quic_packet_creator.cc b/net/quic/quic_packet_creator.cc
index efaf1136b216def9ec307c27c8cced55c339841a..07815219fd5d5931b9e583084b09d99f865a9c25 100644
--- a/net/quic/quic_packet_creator.cc
+++ b/net/quic/quic_packet_creator.cc
@@ -278,7 +278,7 @@ void QuicPacketCreator::CopyToBuffer(QuicIOVector iov,
const char* src = static_cast<char*>(iov.iov[iovnum].iov_base) + iov_offset;
while (true) {
- memmove(buffer, src, copy_len);
+ memcpy(buffer, src, copy_len);
length -= copy_len;
buffer += copy_len;
if (length == 0 || ++iovnum >= iov.iov_count) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698