[svn-commits] file: branch file/res_sip_registrar_expire r390671 - /team/file/res_sip_regis...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 6 13:58:22 CDT 2013


Author: file
Date: Thu Jun  6 13:58:20 2013
New Revision: 390671

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=390671
Log:
Fix based on review feedback.

Modified:
    team/file/res_sip_registrar_expire/res/res_sip_registrar_expire.c

Modified: team/file/res_sip_registrar_expire/res/res_sip_registrar_expire.c
URL: http://svnview.digium.com/svn/asterisk/team/file/res_sip_registrar_expire/res/res_sip_registrar_expire.c?view=diff&rev=390671&r1=390670&r2=390671
==============================================================================
--- team/file/res_sip_registrar_expire/res/res_sip_registrar_expire.c (original)
+++ team/file/res_sip_registrar_expire/res/res_sip_registrar_expire.c Thu Jun  6 13:58:20 2013
@@ -69,7 +69,8 @@
 	struct contact_expiration *expiration1 = obj, *expiration2 = arg;
 	const char *id = arg;
 
-	return !strcmp(ast_sorcery_object_get_id(expiration1->contact), flags & OBJ_KEY ? id : ast_sorcery_object_get_id(expiration2)) ? CMP_MATCH | CMP_STOP : 0;
+	return !strcmp(ast_sorcery_object_get_id(expiration1->contact), flags & OBJ_KEY ? id :
+		       ast_sorcery_object_get_id(expiration2->contact)) ? CMP_MATCH | CMP_STOP : 0;
 }
 
 /*! \brief Scheduler function which deletes a contact */




More information about the svn-commits mailing list