diff options
author | Junio C Hamano <junkio@cox.net> | 2006-10-30 19:38:50 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-30 19:38:50 -0800 |
commit | 83877f8d92b2050eb668dc3351277e57779a8f05 (patch) | |
tree | deedf7e97c113e09a4cb58f4ba25c0339b318279 /imap-send.c | |
parent | 6fb75bed5c4a6ce099a24e581ea327e9de3ab8b0 (diff) | |
parent | 9dad9d2e5b322835c87e1653268d892a95ee0f1f (diff) | |
download | git-83877f8d92b2050eb668dc3351277e57779a8f05.tar.gz |
Merge branch 'maint'
* maint:
revision traversal: --unpacked does not limit commit list anymore.
Continue traversal when rev-list --unpacked finds a packed commit.
Use memmove instead of memcpy for overlapping areas
quote.c: ensure the same quoting across platforms.
Surround "#define DEBUG 0" with "#ifndef DEBUG..#endif"
Diffstat (limited to 'imap-send.c')
-rw-r--r-- | imap-send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imap-send.c b/imap-send.c index 16804ab286..a6a65680ee 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; |