Browse code

freshclam: fix calls to execute() (bb#1560)

git-svn: trunk@5038

Tomasz Kojm authored on 2009/04/11 18:41:38
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Sat Apr 11 11:40:38 CEST 2009 (tk)
2
+----------------------------------
3
+ * freshclam: fix calls to execute() (bb#1560)
4
+
1 5
 Fri Apr 10 18:20:12 EEST 2009 (edwin)
2 6
 -------------------------------------
3 7
  * libclamav/vba_extract.c: avoid size 1 reads for performance
... ...
@@ -459,7 +459,7 @@ int main(int argc, char **argv)
459 459
 		    arg = opt->strarg;
460 460
 
461 461
 		if(arg)
462
-		    execute("OnErrorExecute", arg, opt);
462
+		    execute("OnErrorExecute", arg, opts);
463 463
 
464 464
 		arg = NULL;
465 465
 	    }
... ...
@@ -1918,7 +1918,7 @@ int downloadmanager(const struct optstruct *opts, const char *hostname, const ch
1918 1918
 	    }
1919 1919
 
1920 1920
 	    if(newver)
1921
-		execute("OnOutdatedExecute", cmd, opt);
1921
+		execute("OnOutdatedExecute", cmd, opts);
1922 1922
 
1923 1923
 	    free(cmd);
1924 1924
 	}