"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/sal/op.cpp" between
liblinphone-4.5.0.tar.gz and liblinphone-4.5.1.tar.gz

About: Linphone is a cross-platform high-level VoIP library implementing all SIP calling and instant messaging (IM) features within a single API.

op.cpp  (liblinphone-4.5.0):op.cpp  (liblinphone-4.5.1)
skipping to change at line 756 skipping to change at line 756
belle_sip_object_unref(dialog); belle_sip_object_unref(dialog);
} }
belle_sip_dialog_t *SalOp::linkOpWithDialog (belle_sip_dialog_t *dialog) { belle_sip_dialog_t *SalOp::linkOpWithDialog (belle_sip_dialog_t *dialog) {
belle_sip_dialog_set_application_data(dialog, ref()); belle_sip_dialog_set_application_data(dialog, ref());
belle_sip_object_ref(dialog); belle_sip_object_ref(dialog);
return dialog; return dialog;
} }
void SalOp::setOrUpdateDialog (belle_sip_dialog_t *dialog) { void SalOp::setOrUpdateDialog (belle_sip_dialog_t *dialog) {
lInfo() << "op [" << this << "] : set_or_update_dialog() current=[" << mD ialog << "] new=[" << dialog << "]"; lInfo() << "op [" << this << "] : setOrUpdateDialog() current=[" << mDial og << "] new=[" << dialog << "]";
ref(); ref();
if (mDialog != dialog) { if (mDialog != dialog) {
if (mDialog){ if (mDialog){
// FIXME: shouldn't we delete unconfirmed dialogs? // FIXME: shouldn't we delete unconfirmed dialogs?
unlinkOpFromDialog(mDialog); unlinkOpFromDialog(mDialog);
mDialog = nullptr; mDialog = nullptr;
} }
if (dialog) { if (dialog) {
mDialog = linkOpWithDialog(dialog); mDialog = linkOpWithDialog(dialog);
belle_sip_dialog_enable_pending_trans_checking(dialog, mR oot->mPendingTransactionChecking); belle_sip_dialog_enable_pending_trans_checking(dialog, mR oot->mPendingTransactionChecking);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)