git-svn: trunk@1758
Tomasz Kojm authored on 2005/11/16 03:27:13... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Tue Nov 15 19:23:01 CET 2005 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * freshclam/manager.c: disable rotor in quiet mode, patch by Andrey J. |
|
4 |
+ Melnikoff (TEMHOTA) <temnota*kmv.ru> |
|
5 |
+ |
|
1 | 6 |
Tue Nov 15 10:27:15 GMT 2005 (trog) |
2 | 7 |
----------------------------------- |
3 | 8 |
* libclamav/unrar/unrar.c: Skip multipart volumes. |
... | ... |
@@ -811,10 +811,12 @@ int get_database(const char *dbfile, int socketfd, const char *file, const char |
811 | 811 |
|
812 | 812 |
while((bread = read(socketfd, buffer, FILEBUFF))) { |
813 | 813 |
write(fd, buffer, bread); |
814 |
- logg("Downloading %s [%c]\r", dbfile, rotation[rot]); |
|
815 |
- fflush(stdout); |
|
816 |
- rot++; |
|
817 |
- rot %= 4; |
|
814 |
+ if(!mprintf_quiet) { |
|
815 |
+ logg("Downloading %s [%c]\r", dbfile, rotation[rot]); |
|
816 |
+ fflush(stdout); |
|
817 |
+ rot++; |
|
818 |
+ rot %= 4; |
|
819 |
+ } |
|
818 | 820 |
} |
819 | 821 |
|
820 | 822 |
logg("Downloading %s [*]\n", dbfile); |