Update of /cvsroot/openantivirus/samba-vscan/f-secure
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2748
Modified Files:
Tag: VSCAN_0_3
vscan-fsav_core.c
Log Message:
bug fix
Index: vscan-fsav_core.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/f-secure/Attic/vscan-fsav_core.c,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- vscan-fsav_core.c 10 Mar 2004 16:29:03 -0000 1.1.2.4
+++ vscan-fsav_core.c 10 Mar 2004 16:38:47 -0000 1.1.2.5
@@ -307,17 +307,18 @@
vscan_syslog_alert("ALERT - Scan result: '%s' infected with virus, client: '%s'",
file, client_ip);
} else {
- if (h->fail)
+ if (h->fail) {
/* error */
h->rc = -1;
if ( verbose_file_logging )
vscan_syslog("ERROR: file %s not found, not readable or an error occured", file);
- else
+ } else {
/* no virus found, everything OK */
h->rc = 0;
if ( verbose_file_logging )
vscan_syslog("INFO: file %s is clean", file);
+ }
}
DEBUG(5,
("samba-vscan (%s) scan %s rc=(%i) buffer=%s\n", module_id,
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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.