samba-vscan/global vscan-filetype.c,1.3.2.10,1.3.2.11

Rainer Link <[email protected]> Sat, 27 Nov 2004 16:32:22 +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-serv1508

Modified Files:
      Tag: VSCAN_0_3
	vscan-filetype.c 
Log Message:
bugfix by Sven


Index: vscan-filetype.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/global/vscan-filetype.c,v
retrieving revision 1.3.2.10
retrieving revision 1.3.2.11
diff -u -d -r1.3.2.10 -r1.3.2.11
--- vscan-filetype.c	26 Sep 2004 16:20:18 -0000	1.3.2.10
+++ vscan-filetype.c	27 Nov 2004 16:32:20 -0000	1.3.2.11
@@ -84,8 +84,10 @@
 
 void filetype_close(void) {
 	
-	if ( filetype_init_magic )
+	if ( filetype_init_magic ) {
 		magic_close(filetype_magic);
+		filetype_init_magic = False;
+	}
 
 }
 



-------------------------------------------------------
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://productguide.itmanagersjournal.com/