Module: kamailio
Branch: 6.0
Commit: 8d482b1a4a01dca834928795b0e789ae135b8224
URL: 
https://github.com/kamailio/kamailio/commit/8d482b1a4a01dca834928795b0e789ae135b8224

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-01-29T11:43:53+01:00

pua: added breaks to event type matching switch

(cherry picked from commit a2ae4fe607125a05debeb40c0ecf1ce05d69ff5f)

---

Modified: src/modules/pua/hash.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/8d482b1a4a01dca834928795b0e789ae135b8224.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8d482b1a4a01dca834928795b0e789ae135b8224.patch

---

diff --git a/src/modules/pua/hash.h b/src/modules/pua/hash.h
index 36f0335cc79..ae19357fe17 100644
--- a/src/modules/pua/hash.h
+++ b/src/modules/pua/hash.h
@@ -178,9 +178,11 @@ static inline int get_event_flag(str *event)
                case 15:
                        if(strncmp(event->s, "message-summary", 15) == 0)
                                return MSGSUM_EVENT;
+                       break;
                case 16:
                        if(strncmp(event->s, "as-feature-event", 16) == 0)
                                return DFKS_EVENT;
+                       break;
        }
 
        LM_ERR("Unknown event string\n");

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to