diff src/syslogconfig.cpp @ 69:0e736950a117 stable-1-0-16

fix post uninstall script; allow config bucket count zero to disable a pattern
author Carl Byington <carl@five-ten-sg.com>
date Mon, 21 Dec 2015 07:56:18 -0800
parents 60f59936fabb
children c6c8a2102a3e
line wrap: on
line diff
--- a/src/syslogconfig.cpp	Sat Dec 19 12:57:42 2015 -0800
+++ b/src/syslogconfig.cpp	Mon Dec 21 07:56:18 2015 -0800
@@ -95,7 +95,7 @@
             }
         }
 
-        else {  // amount < 0
+        else if (amount < 0) {
             char buf[maxlen];
             in_addr ad;
             ad.s_addr = htonl(ip);