Quellcode durchsuchen

htable: set the value for dmq replicate of rm with sw operation

Daniel-Constantin Mierla vor 4 Jahren
Ursprung
Commit
d80ae5e88e
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/modules/htable/htable.c

+ 1 - 0
src/modules/htable/htable.c

@@ -493,6 +493,7 @@ static int ht_rm_items(sip_msg_t* msg, str* hname, str* op, str *val,
 				}
 				return 1;
 			} else if(strncmp(op->s, "sw", 2)==0) {
+				isval.s = *val;
 				if (ht_dmq_replicate_action(HT_DMQ_RM_CELL_SW, &ht->name, NULL,
 							AVP_VAL_STR, &isval, mkey)!=0) {
 					LM_ERR("dmq relication failed (op %d)\n", mkey);