[sr-dev] [kamailio/kamailio] acc: generating duplicates (#1674)

Julien Chavanton notifications at github.com
Mon Oct 15 18:25:58 CEST 2018


jchavanton commented on this pull request.



> @@ -464,7 +463,15 @@ static inline void acc_onreply_in(struct cell *t, struct sip_msg *req,
 	}
 }
 
-
+static void reset_acc_flags(struct sip_msg *req, int flags_to_reset) {
+	int x;
+	for (x=0;x<32;x++) {
+		if (flags_to_reset & 1<<x) {
+			resetflag(req, x);
+			LM_DBG("reset[%d]\n", x);
+		}
+	}
+}

indeed ! thanks 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1674#discussion_r225231895
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181015/5e7fb747/attachment-0001.html>


More information about the sr-dev mailing list