diff options
author | Matt O'Gorman <mogorman@digium.com> | 2006-04-04 16:59:27 +0000 |
---|---|---|
committer | Matt O'Gorman <mogorman@digium.com> | 2006-04-04 16:59:27 +0000 |
commit | a536eb6ec774788097100b34fe001a120ed8493a (patch) | |
tree | d7d4727fb1cb5f75947075e19e5496d501ad9f5a /apps | |
parent | b9e7287ce64939f445da404d05b6fe93d84859f3 (diff) |
minor code clean up from 6880
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_alarmreceiver.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/app_alarmreceiver.c b/apps/app_alarmreceiver.c index 517f57f6f..85a7a68bb 100644 --- a/apps/app_alarmreceiver.c +++ b/apps/app_alarmreceiver.c @@ -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 */ |