[asterisk-commits] trunk r17312 - /trunk/apps/app_alarmreceiver.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 4 09:59:28 MST 2006


Author: mogorman
Date: Tue Apr  4 11:59:27 2006
New Revision: 17312

URL: http://svn.digium.com/view/asterisk?rev=17312&view=rev
Log:
minor code clean up from 6880

Modified:
    trunk/apps/app_alarmreceiver.c

Modified: trunk/apps/app_alarmreceiver.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_alarmreceiver.c?rev=17312&r1=17311&r2=17312&view=diff
==============================================================================
--- trunk/apps/app_alarmreceiver.c (original)
+++ trunk/apps/app_alarmreceiver.c Tue Apr  4 11:59:27 2006
@@ -551,13 +551,12 @@
 
 		checksum = checksum % 15;
 
-		if(checksum){
+		if (checksum) {
 			database_increment("checksum-errors");
-			if(option_verbose >= 2){
+			if (option_verbose >= 2)
 				ast_verbose(VERBOSE_PREFIX_2 "AlarmReceiver: Nonzero checksum\n");
 			ast_log(LOG_DEBUG, "AlarmReceiver: Nonzero checksum\n");
 			continue;
-			}
 		}
 
 		/* Check the message type for correctness */



More information about the asterisk-commits mailing list