commit 68c4adc16eef90726abb30400a920d68a160089c
Author: Oswald Buddenhagen <[email protected]>
AuthorDate: Thu Aug 10 06:33:18 2006 +0000
Commit: Oswald Buddenhagen <[email protected]>
CommitDate: Tue Nov 29 22:40:39 2011 +0100
backport: memmove for overlapping mem copies.
src/drv_imap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/drv_imap.c b/src/drv_imap.c
index b8a4e5b..2a84f3d 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -376,7 +376,7 @@ buffer_gets( buffer_t * b, char **s )
n = b->bytes - start;
if (n)
- memcpy( b->buf, b->buf + start, n );
+ memmove( b->buf, b->buf + start, n );
b->offset -= start;
b->bytes = n;
start = 0;
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel