summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/libotr-3.2.0/src/b64.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/libotr-3.2.0/src/b64.c')
-rw-r--r--plugins/MirOTR/libotr-3.2.0/src/b64.c2
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';