minor code clean up from 6880
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17312 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
12d8167b46
commit
08a2f51b31
|
@ -551,13 +551,12 @@ static int receive_ademco_contact_id( struct ast_channel *chan, void *data, int
|
|||
|
||||
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 */
|
||||
|
|
Reference in New Issue