Module: sip-router
Branch: master
Commit: 701fd7fa8fd5f45a6ef667ebc993c5b774acbecf
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=701fd7f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 20 12:23:20 2010 +0200
app_python: update type for fixed params
- related to previous commit
---
modules/app_python/python_msgobj.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/app_python/python_msgobj.c b/modules/app_python/python_msgobj.c
index fa5fbe2..898314b 100644
--- a/modules/app_python/python_msgobj.c
+++ b/modules/app_python/python_msgobj.c
@@ -241,7 +241,7 @@ msg_call_function(msgobject *self, PyObject *args)
Py_INCREF(Py_None);
return Py_None;
}
- act->val[2].type = MODFIXUP_ST;
+ act->val[3].type = MODFIXUP_ST;
}
if (i >= 2) {
rval = fexport->v1.fixup(&(act->val[2].u.data), 1);
@@ -250,7 +250,7 @@ msg_call_function(msgobject *self, PyObject *args)
Py_INCREF(Py_None);
return Py_None;
}
- act->val[1].type = MODFIXUP_ST;
+ act->val[2].type = MODFIXUP_ST;
}
if (i == 1) {
rval = fexport->v1.fixup(0, 0);