samba-vscan/clamav vscan-clamav_core.c,1.5.2.2,1.5.2.3

[email protected]
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/samba-vscan/clamav
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18315

Modified Files:
      Tag: VSCAN_0_3
	vscan-clamav_core.c 
Log Message:
report lib error code via syslog


Index: vscan-clamav_core.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/clamav/vscan-clamav_core.c,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -d -r1.5.2.2 -r1.5.2.3
--- vscan-clamav_core.c	1 Dec 2003 13:20:40 -0000	1.5.2.2
+++ vscan-clamav_core.c	29 Feb 2004 20:29:08 -0000	1.5.2.3
@@ -122,7 +122,7 @@
 	return 1;
     } else {  /* error */
 	if (verbose_file_logging) {
-		vscan_syslog("ERROR: file %s not found, not readable or an error occured", scan_file);
+		vscan_syslog("ERROR: file %s not found, not readable or an error occured (lib return code: %d)", scan_file, ret);
 	}
 	return -2;
     }



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.