Ignore:
Timestamp:
Apr 4, 2006 11:06:34 AM (18 years ago)
Author:
bennylp
Message:

Changed pjsip_dlg_send_request() API to NOT return transaction as it is not safe against race condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r368 r376  
    13311331 
    13321332    /* Send the request. */ 
    1333     status = pjsip_dlg_send_request( call->inv->dlg, tdata, NULL); 
     1333    status = pjsip_dlg_send_request( call->inv->dlg, tdata, -1, NULL); 
    13341334    if (status != PJ_SUCCESS) { 
    13351335        pjsua_perror(THIS_FILE, "Unable to send MESSAGE request", status); 
     
    13741374 
    13751375    /* Send the request. */ 
    1376     status = pjsip_dlg_send_request( call->inv->dlg, tdata, NULL); 
     1376    status = pjsip_dlg_send_request( call->inv->dlg, tdata, -1, NULL); 
    13771377    if (status != PJ_SUCCESS) { 
    13781378        pjsua_perror(THIS_FILE, "Unable to send MESSAGE request", status); 
Note: See TracChangeset for help on using the changeset viewer.