isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 617d1a6e4983a6c0903b46652ee502a804a312ee
parent 1b9f8b4c69e87143b3d129734331c1411cc83bf4
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Thu, 10 Aug 2006 06:33:18 +0000

memmove for overlapping mem copies.

Diffstat:
Msrc/drv_imap.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drv_imap.c b/src/drv_imap.c @@ -369,7 +369,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;