summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/py_pjsua
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-06-12 22:45:26 +0000
committerBenny Prijono <bennylp@teluu.com>2008-06-12 22:45:26 +0000
commita7ca90fdbe7339740c6d994bfa214d73b6619172 (patch)
tree9ceaf228edd2c77b692504a7678cf4c5a0f8781b /pjsip-apps/src/py_pjsua
parent71b3b5351bba81bac0d664c27a9eeec5fd97ed08 (diff)
Fixed build error on the Python module. It's still not up-to-date with the latest API though
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2014 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/py_pjsua')
-rw-r--r--pjsip-apps/src/py_pjsua/py_pjsua.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pjsip-apps/src/py_pjsua/py_pjsua.h b/pjsip-apps/src/py_pjsua/py_pjsua.h
index db71c364..a7d063fb 100644
--- a/pjsip-apps/src/py_pjsua/py_pjsua.h
+++ b/pjsip-apps/src/py_pjsua/py_pjsua.h
@@ -1023,8 +1023,8 @@ static void PyObj_pjsua_config_import(PyObj_pjsua_config *obj,
obj->stun_host = PyString_FromStringAndSize(cfg->stun_host.ptr,
cfg->stun_host.slen);
Py_XDECREF(obj->stun_relay_host);
- obj->stun_relay_host= PyString_FromStringAndSize(cfg->stun_relay_host.ptr,
- cfg->stun_relay_host.slen);
+ obj->stun_relay_host= PyString_FromStringAndSize(cfg->stun_host.ptr,
+ cfg->stun_host.slen);
Py_XDECREF(obj->user_agent);
obj->user_agent = PyString_FromStringAndSize(cfg->user_agent.ptr,
cfg->user_agent.slen);
@@ -1044,7 +1044,7 @@ static void PyObj_pjsua_config_export(pjsua_config *cfg,
}
cfg->stun_domain = PyString_to_pj_str(obj->stun_domain);
cfg->stun_host = PyString_to_pj_str(obj->stun_host);
- cfg->stun_relay_host= PyString_to_pj_str(obj->stun_host);
+ //cfg->stun_relay_host= PyString_to_pj_str(obj->stun_host);
cfg->user_agent = PyString_to_pj_str(obj->user_agent);
}