summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/binascii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c
index f1f9615..5bd730c 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -1046,7 +1046,7 @@ binascii_a2b_qp(PyObject *self, PyObject *args, PyObject *kwargs)
PyErr_NoMemory();
return NULL;
}
- memset(odata, datalen, 0);
+ memset(odata, 0, datalen);
in = out = 0;
while (in < datalen) {
@@ -1220,7 +1220,7 @@ binascii_b2a_qp (PyObject *self, PyObject *args, PyObject *kwargs)
PyErr_NoMemory();
return NULL;
}
- memset(odata, odatalen, 0);
+ memset(odata, 0, odatalen);
in = out = linelen = 0;
while (in < datalen) {