diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 11:59:42 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 11:59:42 +0000 |
commit | e3c1a6d3c8ca609923a87635d208472db2e384e6 (patch) | |
tree | 14cd1a354929e175f43fbd200fdd283a28e481e6 /plugins/MirOTR/libotr-3.2.0/src/b64.c | |
parent | b0dd8ba58e708865ef6e3ed6e596699fc64f4c2d (diff) |
memmove -> memcpy in some cases, review req
git-svn-id: http://svn.miranda-ng.org/main/trunk@11367 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/libotr-3.2.0/src/b64.c')
-rw-r--r-- | plugins/MirOTR/libotr-3.2.0/src/b64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/libotr-3.2.0/src/b64.c b/plugins/MirOTR/libotr-3.2.0/src/b64.c index b8736daf26..222f56634c 100644 --- a/plugins/MirOTR/libotr-3.2.0/src/b64.c +++ b/plugins/MirOTR/libotr-3.2.0/src/b64.c @@ -202,7 +202,7 @@ char *otrl_base64_otr_encode(const unsigned char *buf, size_t buflen) if (base64buf == NULL) { return NULL; } - memmove(base64buf, "?OTR:", 5); + memcpy(base64buf, "?OTR:", 5); otrl_base64_encode(base64buf+5, buf, buflen); base64buf[5 + base64len] = '.'; base64buf[5 + base64len + 1] = '\0'; |