Changeset 2014 for pjproject


Ignore:
Timestamp:
Jun 12, 2008 10:45:26 PM (16 years ago)
Author:
bennylp
Message:

Fixed build error on the Python module. It's still not up-to-date with the latest API though

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/py_pjsua/py_pjsua.h

    r1442 r2014  
    10241024                                                     cfg->stun_host.slen); 
    10251025    Py_XDECREF(obj->stun_relay_host); 
    1026     obj->stun_relay_host= PyString_FromStringAndSize(cfg->stun_relay_host.ptr, 
    1027                                                      cfg->stun_relay_host.slen); 
     1026    obj->stun_relay_host= PyString_FromStringAndSize(cfg->stun_host.ptr, 
     1027                                                     cfg->stun_host.slen); 
    10281028    Py_XDECREF(obj->user_agent); 
    10291029    obj->user_agent     = PyString_FromStringAndSize(cfg->user_agent.ptr, 
     
    10451045    cfg->stun_domain    = PyString_to_pj_str(obj->stun_domain); 
    10461046    cfg->stun_host      = PyString_to_pj_str(obj->stun_host); 
    1047     cfg->stun_relay_host= PyString_to_pj_str(obj->stun_host); 
     1047    //cfg->stun_relay_host= PyString_to_pj_str(obj->stun_host); 
    10481048    cfg->user_agent     = PyString_to_pj_str(obj->user_agent); 
    10491049 
Note: See TracChangeset for help on using the changeset viewer.