Browse code

pass proper argument to OnErrorExecute

git-svn: trunk@1476

Tomasz Kojm authored on 2005/04/14 21:13:41
Showing 3 changed files
... ...
@@ -86,6 +86,7 @@ libclamav/mspack: Stuart Caie
86 86
 Patch submitters (in alphabetical order):
87 87
 
88 88
 Kamil Andrusz <wizz*mniam.net>
89
+Alexandre Biancalana <ale*seudns.net>
89 90
 Patrick Bihan-Faou <patrick*mindstep.com>
90 91
 Martin Blapp <mb*imp.ch>
91 92
 Igor Brezac <igor*ipass.net>
... ...
@@ -1,3 +1,8 @@
1
+Thu Apr 14 14:11:31 CEST 2005 (tk)
2
+----------------------------------
3
+  * freshclam/manager.c: pass proper argument to OnErrorExecute (patch by
4
+			 Alexandre Biancalana <ale*seudns.net>)
5
+
1 6
 Thu Apr 14 14:04:46 CEST 2005 (tk)
2 7
 ----------------------------------
3 8
   * configure: check for ctime_r
... ...
@@ -196,9 +196,9 @@ int downloadmanager(const struct cfgstruct *copt, const struct optstruct *opt, c
196 196
 
197 197
 	if(arg) {
198 198
 	    if(optc(opt, 'd'))
199
-		execute( "OnUpdateExecute", pt );
199
+		execute("OnUpdateExecute", arg);
200 200
             else
201
-		system(pt);
201
+		system(arg);
202 202
 	}
203 203
 
204 204
 	return 0;