[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

aCaB acab at clamav.net
Sun Apr 4 01:22:03 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 49e5f6580eef7cc76c99800a55e5048cb517bbbf
Author: aCaB <acab at clamav.net>
Date:   Sat Mar 6 04:00:14 2010 +0100

    bb#1851

diff --git a/ChangeLog b/ChangeLog
index dd3ab05..bbab49f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Mar  6 03:58:16 CET 2010 (acab)
+-----------------------------------
+ * clamd/scanner.c: fix logg output, patch from Mark Pizzolato
+
 Fri Mar  5 22:16:45 CET 2010 (acab)
 -----------------------------------
  * libclamav: don't cache clean results due to EMAX - final fix for bb#1856
diff --git a/clamd/scanner.c b/clamd/scanner.c
index ddb8572..461cb4b 100644
--- a/clamd/scanner.c
+++ b/clamd/scanner.c
@@ -391,7 +391,7 @@ int scanstream(int odesc, unsigned long int *scanned, const struct cl_engine *en
     }
 
     *peer_addr = '\0';
-    inet_ntop(peer.sin_family, &peer, peer_addr, sizeof(peer_addr));
+    inet_ntop(peer.sin_family, &peer.sin_addr, peer_addr, sizeof(peer_addr));
     logg("*Accepted connection from %s on port %u, fd %d\n", peer_addr, port, acceptd);
 
     if(cli_gentempfd(optget(opts, "TemporaryDirectory")->strarg, &tmpname, &tmpd)) {

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list