disable rotor in quiet mode

git-svn: trunk@1758
remotes/push_mirror/metadata
Tomasz Kojm 20 years ago
parent 08aa561736
commit d861d673f4
  1. 5
      clamav-devel/ChangeLog
  2. 10
      clamav-devel/freshclam/manager.c

@ -1,3 +1,8 @@
Tue Nov 15 19:23:01 CET 2005 (tk)
---------------------------------
* freshclam/manager.c: disable rotor in quiet mode, patch by Andrey J.
Melnikoff (TEMHOTA) <temnota*kmv.ru>
Tue Nov 15 10:27:15 GMT 2005 (trog)
-----------------------------------
* libclamav/unrar/unrar.c: Skip multipart volumes.

@ -811,10 +811,12 @@ int get_database(const char *dbfile, int socketfd, const char *file, const char
while((bread = read(socketfd, buffer, FILEBUFF))) {
write(fd, buffer, bread);
logg("Downloading %s [%c]\r", dbfile, rotation[rot]);
fflush(stdout);
rot++;
rot %= 4;
if(!mprintf_quiet) {
logg("Downloading %s [%c]\r", dbfile, rotation[rot]);
fflush(stdout);
rot++;
rot %= 4;
}
}
logg("Downloading %s [*]\n", dbfile);

Loading…
Cancel
Save