Changeset 4422 for pjproject


Ignore:
Timestamp:
Mar 6, 2013 6:00:18 AM (12 years ago)
Author:
ming
Message:

Re #1630: Fixed incorrect parameter in Python wrapper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/python/_pjsua.c

    r3999 r4422  
    31063106    pj_str_t dst_uri; 
    31073107    PyObject *pDstUri, *pMsgData, *pUserData; 
    3108     unsigned options; 
     3108        pjsua_call_setting option; 
    31093109    pjsua_msg_data msg_data; 
    31103110    int call_id; 
     
    31133113    PJ_UNUSED_ARG(pSelf); 
    31143114 
    3115     if (!PyArg_ParseTuple(pArgs, "iOIOO", &acc_id, &pDstUri, &options,  
     3115        pjsua_call_setting_default(&option); 
     3116        if (!PyArg_ParseTuple(pArgs, "iOIOO", &acc_id, &pDstUri, &option.flag,  
    31163117                          &pUserData, &pMsgData)) 
    31173118    { 
     
    31363137 
    31373138    status = pjsua_call_make_call(acc_id, &dst_uri,  
    3138                                   options, (void*)pUserData,  
     3139                                  &option, (void*)pUserData,  
    31393140                                  &msg_data, &call_id);  
    31403141    if (pool != NULL) 
Note: See TracChangeset for help on using the changeset viewer.