mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
minor code clean up from 6880
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
Block a user