Browse code

fix call to getcvd()

git-svn: trunk@2166

Tomasz Kojm authored on 2006/08/02 22:30:49
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Aug  2 15:27:01 CEST 2006 (tk)
2
+----------------------------------
3
+  * freshclam/manager.c: fix call to getcvd()
4
+
1 5
 Tue Aug  1 17:58:32 BST 2006 (njh)
2 6
 ----------------------------------
3 7
   * shared/network.c:	Now honours clamav-config.h
... ...
@@ -916,7 +916,7 @@ int updatedb(const char *dbname, const char *hostname, char *ip, int *signo, con
916 916
 	if(ret) {
917 917
 	    logg("^Incremental update failed, downloading complete database\n");
918 918
 
919
-	    ret = getcvd(dbfile, hostname, ip, localip, proxy, port, user, pass, uas, nodb, newver);
919
+	    ret = getcvd(dbfile, hostname, ip, localip, proxy, port, user, pass, uas, 1, newver);
920 920
 	    if(ret)
921 921
 		return ret;
922 922
 	} else {