samba-vscan/global vscan-filetype.c,1.3.2.11,1.3.2.12
Rainer Link <[email protected]> Sun, 06 Feb 2005 20:57:19 +0000
| Newsgroups | gmane.comp.security.virus.openantivirus.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openantivirus/samba-vscan/global
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11940
Modified Files:
Tag: VSCAN_0_3
vscan-filetype.c
Log Message:
log differently if libmagic failed or no exclude list has been set
Index: vscan-filetype.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/global/vscan-filetype.c,v
retrieving revision 1.3.2.11
retrieving revision 1.3.2.12
diff -u -d -r1.3.2.11 -r1.3.2.12
--- vscan-filetype.c 27 Nov 2004 16:32:20 -0000 1.3.2.11
+++ vscan-filetype.c 6 Feb 2005 20:57:16 -0000 1.3.2.12
@@ -115,7 +115,11 @@
if ( !filetype_init_magic ) {
- DEBUG(5, ("libmagic init has failed or exclude list is empty - feature disabled\n"));
+ if ( strlen(filetype_excludelist) == 0 ) {
+ DEBUG(5, ("exclude list is empty - feature disabled\n"));
+ } else {
+ DEBUG(5, ("libmagic init has failed - feature disabled\n"));
+ }
return VSCAN_FT_ERROR_MUST_SCAN;
}
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl