diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-04-04 11:06:34 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-04-04 11:06:34 +0000 |
commit | 9da5ebeca867322da5ed41e4e9fb3218caf5ab41 (patch) | |
tree | fb43d750f33df9df7d6fb63e568d6a3522d312c1 /pjsip/src/pjsua-lib/pjsua_call.c | |
parent | e7a65ea2ca8a296a5134dc61b339597763e1dffd (diff) |
Changed pjsip_dlg_send_request() API to NOT return transaction as it is not safe against race condition
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@376 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_call.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index d18a59da..55976880 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -1330,7 +1330,7 @@ void pjsua_call_send_im(int call_index, const char *str) } /* Send the request. */ - status = pjsip_dlg_send_request( call->inv->dlg, tdata, NULL); + status = pjsip_dlg_send_request( call->inv->dlg, tdata, -1, NULL); if (status != PJ_SUCCESS) { pjsua_perror(THIS_FILE, "Unable to send MESSAGE request", status); goto on_return; @@ -1373,7 +1373,7 @@ void pjsua_call_typing(int call_index, pj_bool_t is_typing) NULL, NULL, -1); /* Send the request. */ - status = pjsip_dlg_send_request( call->inv->dlg, tdata, NULL); + status = pjsip_dlg_send_request( call->inv->dlg, tdata, -1, NULL); if (status != PJ_SUCCESS) { pjsua_perror(THIS_FILE, "Unable to send MESSAGE request", status); goto on_return; |