git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@824 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2004/09/04 22:18:29... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Sat Sep 4 15:12:32 CEST 2004 (tk) |
|
2 |
+---------------------------------- |
|
3 |
+ * freshclam: retry if mirrors are not fully synchronised |
|
4 |
+ |
|
1 | 5 |
Fri Sep 3 22:25:52 CEST 2004 (tk) |
2 | 6 |
---------------------------------- |
3 | 7 |
* freshclam: fix signature counting (thanks to Tomasz Papszun) |
... | ... |
@@ -364,7 +364,7 @@ int download(const struct cfgstruct *copt, const struct optstruct *opt) |
364 | 364 |
ret = downloadmanager(copt, opt, cpt->strarg); |
365 | 365 |
alarm(0); |
366 | 366 |
|
367 |
- if(ret == 54) { |
|
367 |
+ if(ret == 54 || ret == 59) { |
|
368 | 368 |
if(try < maxattempts - 1) { |
369 | 369 |
mprintf("Trying again...\n"); |
370 | 370 |
logg("Trying again...\n"); |