samba-vscan/clamav vscan-clamav.c,1.1.2.17,1.1.2.18

Rainer Link <[email protected]> Fri, 08 Apr 2005 09:06:33 +0000
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-serv29123/clamav

Modified Files:
      Tag: VSCAN_0_3
	vscan-clamav.c 
Log Message:
some code-rework on file regexp stuff. needs to be tested carefully!


Index: vscan-clamav.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/clamav/vscan-clamav.c,v
retrieving revision 1.1.2.17
retrieving revision 1.1.2.18
diff -u -d -r1.1.2.17 -r1.1.2.18
--- vscan-clamav.c	29 Mar 2005 19:20:22 -0000	1.1.2.17
+++ vscan-clamav.c	8 Apr 2005 09:06:31 -0000	1.1.2.18
@@ -267,7 +267,7 @@
 		if ( vscan_config.common.verbose_file_logging )
 			vscan_syslog("INFO: File %s has size zero! Not scanned!", fname);
 	}
-	else if ( fileregexp_skipscan(filepath) == 1 ) {
+	else if ( fileregexp_skipscan(filepath) == VSCAN_FR_SKIP_SCAN ) {
 		if ( verbose_file_logging )
 			vscan_syslog("File '%s' not scanned as file is machted by exclude regexp", filepath);
 	}
@@ -422,7 +422,7 @@
 		return retval;
 	}
 
-	if ( fileregexp_skipscan(filepath) == 1 ) {
+	if ( fileregexp_skipscan(filepath) == VSCAN_FR_SKIP_SCAN ) {
 		if ( verbose_file_logging )
 			vscan_syslog("File '%s' not scanned as file is machted by exclude regexp", filepath);
 		return retval;



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click