evolution-data-server r8780 - trunk/camel/providers/pop3
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8780 - trunk/camel/providers/pop3
- Date: Mon, 12 May 2008 02:09:12 +0100 (BST)
Author: fejj
Date: Mon May 12 01:09:11 2008
New Revision: 8780
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8780&view=rev
Log:
2008-05-11 Jeffrey Stedfast <fejj novell com>
* camel-pop3-stream.c (stream_fill): Use memmove() instead of
memcpy() since src and dest may overlap.
Modified:
trunk/camel/providers/pop3/ChangeLog
trunk/camel/providers/pop3/camel-pop3-stream.c
Modified: trunk/camel/providers/pop3/camel-pop3-stream.c
==============================================================================
--- trunk/camel/providers/pop3/camel-pop3-stream.c (original)
+++ trunk/camel/providers/pop3/camel-pop3-stream.c Mon May 12 01:09:11 2008
@@ -54,7 +54,7 @@
if (is->source) {
left = is->end - is->ptr;
- memcpy(is->buf, is->ptr, left);
+ memmove(is->buf, is->ptr, left);
is->end = is->buf + left;
is->ptr = is->buf;
left = camel_stream_read(is->source, (char *) is->end, CAMEL_POP3_STREAM_SIZE - (is->end - is->buf));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]