[sr-dev] git:master:48f89ed0: pua: fix typo in matching presence.winfo

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 31 18:40:43 CEST 2015


Module: kamailio
Branch: master
Commit: 48f89ed0390a80cc760da5a7ed41dd9c5c5ffc4d
URL: https://github.com/kamailio/kamailio/commit/48f89ed0390a80cc760da5a7ed41dd9c5c5ffc4d

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-07-31T18:40:30+02:00

pua: fix typo in matching presence.winfo

- patch by foucse, GH #270

---

Modified: modules/pua/hash.h

---

Diff:  https://github.com/kamailio/kamailio/commit/48f89ed0390a80cc760da5a7ed41dd9c5c5ffc4d.diff
Patch: https://github.com/kamailio/kamailio/commit/48f89ed0390a80cc760da5a7ed41dd9c5c5ffc4d.patch

---

diff --git a/modules/pua/hash.h b/modules/pua/hash.h
index 3da0894..923560c 100644
--- a/modules/pua/hash.h
+++ b/modules/pua/hash.h
@@ -166,7 +166,7 @@ static inline int get_event_flag(str* event)
                 return CONFERENCE_EVENT;
             break;
         case 14:
-            if (strncmp(event->s, "presence;winfo", 14) == 0)
+            if (strncmp(event->s, "presence.winfo", 14) == 0)
                 return PWINFO_EVENT;
             break;
         case 15:




More information about the sr-dev mailing list