[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:07:15 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 6761ac0a7807ab24da96351221f2b93e6d0991bb
Author: aCaB <acab at clamav.net>
Date:   Thu Oct 8 20:29:18 2009 +0200

    fix typo in uuencode

diff --git a/libclamav/uuencode.c b/libclamav/uuencode.c
index d679762..6619c94 100644
--- a/libclamav/uuencode.c
+++ b/libclamav/uuencode.c
@@ -52,12 +52,11 @@ static	char	const	rcsid[] = "$Id: uuencode.c,v 1.8 2006/12/11 11:55:11 njh Exp $
 int
 cli_uuencode(const char *dir, fmap_t *map)
 {
-	int i;
 	message *m;
 	char buffer[RFC2821LENGTH + 1];
 	size_t at = 0;
 
-	if(fmap_gets(map, buffer, &at, sizeof(buffer) - 1)) {
+	if(!fmap_gets(map, buffer, &at, sizeof(buffer) - 1)) {
 		/* empty message */
 		return CL_CLEAN;
 	}

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list