samba-vscan/openantivirus vscan-oav.c,1.37.2.3,1.37.2.4
Rainer Link <[email protected]> Thu, 06 May 2004 14:44:28 +0000
| Newsgroups | gmane.comp.security.virus.openantivirus.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openantivirus/samba-vscan/openantivirus
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9690/openantivirus
Modified Files:
Tag: VSCAN_0_3
vscan-oav.c
Log Message:
bugfix
Index: vscan-oav.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/openantivirus/vscan-oav.c,v
retrieving revision 1.37.2.3
retrieving revision 1.37.2.4
diff -u -d -r1.37.2.3 -r1.37.2.4
--- vscan-oav.c 2 May 2004 19:45:32 -0000 1.37.2.3
+++ vscan-oav.c 6 May 2004 14:44:26 -0000 1.37.2.4
@@ -50,6 +50,7 @@
vscan_config_struct vscan_config; /* contains the vscan module configuration */
BOOL verbose_file_logging;
+BOOL send_warning_message;
fstring oav_ip; /* IP OAV ScannerDaemon runs on */
unsigned short int oav_port; /* port number OAV ScannerDaemon listens on */
@@ -133,6 +134,7 @@
/* set default value for send warning message */
vscan_config.common.send_warning_message = VSCAN_SEND_WARNING_MESSAGE;
+ send_warning_message = VSCAN_SEND_WARNING_MESSAGE;
/* set default value for infected file action */
vscan_config.common.infected_file_action = VSCAN_INFECTED_FILE_ACTION;
@@ -194,6 +196,7 @@
/* FIXME: this is lame! */
verbose_file_logging = vscan_config.common.verbose_file_logging;
+ send_warning_message = vscan_config.common.send_warning_message;
DEBUG(10, ("pm_process returned %d\n", retval));
if (!retval) vscan_syslog("ERROR: could not parse configuration file '%s'. File not found or not read-able. Using compiled-in defaults", config_file);
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3