[sr-dev] git:master:ef3bc390: Merge pull request #741 from snen/dialog_vars_update_error_fix
GitHub
noreply at github.com
Tue Aug 9 15:39:10 CEST 2016
Module: kamailio
Branch: master
Commit: ef3bc3903ed119605162cba8bb5442de58973400
URL: https://github.com/kamailio/kamailio/commit/ef3bc3903ed119605162cba8bb5442de58973400
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2016-08-09T15:39:03+02:00
Merge pull request #741 from snen/dialog_vars_update_error_fix
dialog: set DLG_FLAG_CHANGED for changed dialog variables
---
Modified: modules/dialog/dlg_var.c
---
Diff: https://github.com/kamailio/kamailio/commit/ef3bc3903ed119605162cba8bb5442de58973400.diff
Patch: https://github.com/kamailio/kamailio/commit/ef3bc3903ed119605162cba8bb5442de58973400.patch
---
diff --git a/modules/dialog/dlg_var.c b/modules/dialog/dlg_var.c
index e89ee27..dd8dd6d 100644
--- a/modules/dialog/dlg_var.c
+++ b/modules/dialog/dlg_var.c
@@ -186,7 +186,7 @@ int set_dlg_variable_unsafe(struct dlg_cell *dlg, str *key, str *val)
/* replace the current it with var and free the it */
var->next = it->next;
/* Take the previous vflags: */
- var->vflags = it->vflags & DLG_FLAG_CHANGED;
+ var->vflags = it->vflags | DLG_FLAG_CHANGED;
if (it_prev) it_prev->next = var;
else *var_list = var;
}
More information about the sr-dev
mailing list