From 7f5c74b5021411931a3be8a64cb60ea368d3f4d2 Mon Sep 17 00:00:00 2001 From: "Roman Schmerold (BNoiZe)" Date: Wed, 7 May 2014 09:46:23 +0200 Subject: [PATCH] Forgot to add the two new values together. D'Oh Signed-off-by: Roman Schmerold (BNoiZe) --- lib/classes/mail/class.mailLogParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classes/mail/class.mailLogParser.php b/lib/classes/mail/class.mailLogParser.php index fe4b9cee..aebddd64 100644 --- a/lib/classes/mail/class.mailLogParser.php +++ b/lib/classes/mail/class.mailLogParser.php @@ -194,7 +194,7 @@ class MailLogParser { $this->_addDomainTraffic($matches[1], (int)$matches[2] + (int)$matches[3], $timestamp); } elseif (preg_match("/dovecot.*(?::|\]) pop3\(.*@([a-z0-9\.\-]+)\):.*in=(\d+).*out=(\d+)/i", $line, $matches)) { // Dovecot POP3 - $this->_addDomainTraffic($matches[1], $matches[2], $timestamp); + $this->_addDomainTraffic($matches[1], (int)$matches[2] + (int)$matches[3], $timestamp); } } }