]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
move continue out of block that checks verbose level (issue #6880)
authorRussell Bryant <russell@russellbryant.com>
Thu, 6 Apr 2006 17:24:25 +0000 (17:24 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 6 Apr 2006 17:24:25 +0000 (17:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17945 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_alarmreceiver.c

index 7c36b60b8c11a9cd4f9793b0bc1e1115f515275b..95abe1439eba796c2207ebc1da186bbfd274c828 100644 (file)
@@ -558,11 +558,10 @@ static int receive_ademco_contact_id( struct ast_channel *chan, void *data, int
 
                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 */