Module: sip-router
Branch: 3.2
Commit: baed413617a0c9eac9241564708b8330276ef023
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=baed413…
Author: Timo Reimann <sr(a)foo-lounge.de>
Committer: Timo Reimann <sr(a)foo-lounge.de>
Date: Mon Nov 7 23:36:36 2011 +0100
dialog(k): Use correct logical operation to enable DLG_FLAG_CHANGED_VARS
flag.
(cherry picked from commit 8ca6de5604ee32076aea5924472f5081a48c99b7)
---
modules_k/dialog/dlg_var.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/dialog/dlg_var.c b/modules_k/dialog/dlg_var.c
index 310b674..279e719 100644
--- a/modules_k/dialog/dlg_var.c
+++ b/modules_k/dialog/dlg_var.c
@@ -252,7 +252,7 @@ int set_dlg_variable(struct dlg_cell *dlg, str *key, str *val)
if(ret!= 0)
goto done;
- dlg->dflags &= DLG_FLAG_CHANGED_VARS;
+ dlg->dflags |= DLG_FLAG_CHANGED_VARS;
dlg_unlock(d_table, &(d_table->entries[dlg->h_entry]));
if ( dlg_db_mode==DB_MODE_REALTIME )
update_dialog_dbinfo(dlg);
@@ -348,7 +348,7 @@ int pv_set_dlg_variable(struct sip_msg* msg, pv_param_t *param, int
op, pv_value
}
/* unlock dialog */
if (dlg) {
- dlg->dflags &= DLG_FLAG_CHANGED_VARS;
+ dlg->dflags |= DLG_FLAG_CHANGED_VARS;
dlg_unlock(d_table, &(d_table->entries[dlg->h_entry]));
if ( dlg_db_mode==DB_MODE_REALTIME )
update_dialog_dbinfo(dlg);