[exim-cvs] Do not panic-log each clamd connection fail. Bug…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Do not panic-log each clamd connection fail. Bug 392
Gitweb: http://git.exim.org/exim.git/commitdiff/70817078bcd173fa33c9dabdf1e8068c901a83a1
Commit:     70817078bcd173fa33c9dabdf1e8068c901a83a1
Parent:     8acbb134096a6377737c435d43497dd79d17d081
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jan 25 18:48:06 2015 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jan 25 18:48:06 2015 +0000


    Do not panic-log each clamd connection fail.  Bug 392
    The panic log line for all servers failed is retained.
---
 src/src/malware.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/src/src/malware.c b/src/src/malware.c
index 365ef03..43f0314 100644
--- a/src/src/malware.c
+++ b/src/src/malware.c
@@ -1360,7 +1360,8 @@ if (!malware_ok)
         break;
         }


-      (void) m_errlog_defer(scanent, errstr);
+      log_write(0, LOG_MAIN, "malware acl condition: %s: %s",
+        scanent->name, errstr);


       /* Remove the server from the list. XXX We should free the memory */
       num_servers--;