aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-15 20:46:18 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-15 20:46:18 +0000
commitc535e64fdb2d0715b41f45d3b7c53dd4e902ba98 (patch)
tree3d1bef6144528f7fef53562659051fe658a239a1 /main
parentb7f97104650eebc61a6c3621850a1e4af5e4217d (diff)
Merged revisions 240411 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r240411 | russell | 2010-01-15 14:41:11 -0600 (Fri, 15 Jan 2010) | 7 lines Ensure payload type is properly checked when comparing against cached events. (closes issue #16607) Reported by: ddv2005 Patches: event.patch uploaded by ddv2005 (license 769) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@240413 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/event.c b/main/event.c
index 1e2f34e8b..445fd40c6 100644
--- a/main/event.c
+++ b/main/event.c
@@ -1273,6 +1273,7 @@ static int ast_event_cmp(void *obj, void *arg, int flags)
for (i = 0; i < ARRAY_LEN(ast_event_cache[0].cache_args) && cache_args[i]; i++) {
struct ast_event_ie_val ie_val = {
+ .ie_pltype = ast_event_get_ie_pltype(cache_args[i]),
.ie_type = cache_args[i],
};