git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1095 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2004/11/14 01:20:37... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Sat Nov 13 17:14:17 CET 2004 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * freshclam: better handling of connection errors (thanks to Simon Munton |
|
4 |
+ <simon*munton.demon.co.uk>) |
|
5 |
+ |
|
1 | 6 |
Sat Nov 13 17:00:28 CET 2004 (tk) |
2 | 7 |
--------------------------------- |
3 | 8 |
* configure: do not add needless -I/usr/include |
... | ... |
@@ -376,7 +376,7 @@ int download(const struct cfgstruct *copt, const struct optstruct *opt) |
376 | 376 |
ret = downloadmanager(copt, opt, cpt->strarg); |
377 | 377 |
alarm(0); |
378 | 378 |
|
379 |
- if(ret == 54 || ret == 59) { |
|
379 |
+ if(ret == 52 || ret == 54 || ret == 58 || ret == 59) { |
|
380 | 380 |
if(try < maxattempts - 1) { |
381 | 381 |
mprintf("Trying again...\n"); |
382 | 382 |
logg("Trying again...\n"); |