[asterisk-commits] russell: trunk r240411 - /trunk/main/event.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 15 14:41:16 CST 2010


Author: russell
Date: Fri Jan 15 14:41:11 2010
New Revision: 240411

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=240411
Log:
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)

Modified:
    trunk/main/event.c

Modified: trunk/main/event.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/event.c?view=diff&rev=240411&r1=240410&r2=240411
==============================================================================
--- trunk/main/event.c (original)
+++ trunk/main/event.c Fri Jan 15 14:41:11 2010
@@ -1482,6 +1482,7 @@
 
 	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],
 		};
 




More information about the asterisk-commits mailing list