Browse code

Update

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@87 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2003/10/24 09:20:56
Showing 4 changed files
... ...
@@ -1,3 +1,9 @@
1
+Fri Oct 24 02:19:54 CEST 2003
2
+----------------------------------
3
+  * clamd: initialize the virus-number variable (Igor Brezac)
4
+  * sigtool: fixed compilation issue on Solaris (bug reported by
5
+	     Christopher X. Candreva)
6
+
1 7
 Wed Oct 22 20:44:29 BST 2003 (njh)
2 8
 ---------------------------------
3 9
   * clamav-milter: more calls to pthread_cond_broadcast
... ...
@@ -49,7 +49,7 @@ void clamd(struct optstruct *opt)
49 49
 	time_t currtime;
50 50
 	struct cl_node *root = NULL;
51 51
 	const char *dbdir, *cfgfile;
52
-	int ret, virnum, tcpsock;
52
+	int ret, virnum = 0, tcpsock;
53 53
 
54 54
     /* initialize some important variables */
55 55
 
... ...
@@ -41,7 +41,7 @@ void freshclam(struct optstruct *opt)
41 41
 #ifndef C_CYGWIN
42 42
 	struct passwd *user;
43 43
 	char *newdir;
44
-    char *unpuser;
44
+	char *unpuser;
45 45
 
46 46
     if(optc(opt, 'u'))
47 47
         unpuser = getargc(opt, 'u');
... ...
@@ -26,4 +26,4 @@ sigtool_SOURCES = \
26 26
 sigtool_LDADD = ../clamscan/getopt.o ../clamscan/others.o
27 27
 
28 28
 DEFS = @DEFS@
29
-LIBS = -L../libclamav -lclamav
29
+LIBS = -L../libclamav -lclamav @FRESHCLAM_LIBS@