fixed python, perl and ruby rpc 64bit

This commit is contained in:
Unbit
2013-11-11 13:06:16 +01:00
parent 26386909de
commit def65c4793
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1548,7 +1548,7 @@ uint64_t uwsgi_python_rpc(void *func, uint8_t argc, char **argv, uint16_t argvs[
rl = PyString_Size(ret);
if (rl > 0) {
*buffer = uwsgi_malloc(rl);
memcpy(buffer, rv, rl);
memcpy(*buffer, rv, rl);
Py_DECREF(ret);
UWSGI_RELEASE_GIL;
return rl;