X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=imap-send.c;h=a6a65680ee6daf062180d2580e83616cfff4cda4;hb=3bf9d57051845cee996f73b5402a07cbeda84c88;hp=16804ab286a42c0dc2733dccf816ab2173e465af;hpb=2dcd3ce8d38101d87c2d329cf46387038ac2c766;p=git.git diff --git a/imap-send.c b/imap-send.c index 16804ab28..a6a65680e 100644 --- a/imap-send.c +++ b/imap-send.c @@ -272,7 +272,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;