[asterisk-commits] file: branch file/pimp_my_publish r391757 - /team/file/pimp_my_publish/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 13 18:04:15 CDT 2013


Author: file
Date: Thu Jun 13 18:04:13 2013
New Revision: 391757

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=391757
Log:
Use the correct object for comparison when OBJ_KEY is used.

Modified:
    team/file/pimp_my_publish/res/res_sip_pubsub.c

Modified: team/file/pimp_my_publish/res/res_sip_pubsub.c
URL: http://svnview.digium.com/svn/asterisk/team/file/pimp_my_publish/res/res_sip_pubsub.c?view=diff&rev=391757&r1=391756&r2=391757
==============================================================================
--- team/file/pimp_my_publish/res/res_sip_pubsub.c (original)
+++ team/file/pimp_my_publish/res/res_sip_pubsub.c Thu Jun 13 18:04:13 2013
@@ -449,7 +449,7 @@
 {
 	const struct ast_sip_publication *publication1 = obj;
 	const struct ast_sip_publication *publication2 = arg;
-	const int *entity_tag = obj;
+	const int *entity_tag = arg;
 
 	return (publication1->entity_tag == (flags & OBJ_KEY ? *entity_tag : publication2->entity_tag) ?
 		CMP_MATCH | CMP_STOP : 0);




More information about the asterisk-commits mailing list