print version information to stdin instead of stderr

git-svn: trunk@1030
remotes/push_mirror/metadata
Tomasz Kojm 21 years ago
parent 6c34bcc751
commit 36d7455dd5
  1. 5
      clamav-devel/ChangeLog
  2. 4
      clamav-devel/shared/misc.c

@ -1,3 +1,8 @@
Wed Oct 20 22:37:24 CEST 2004 (tk)
----------------------------------
* shared/misc.c: print version information to stdin instead of stderr
(reported by spaze <spaze*exploited.cz>)
Wed Oct 20 22:31:10 CEST 2004 (tk)
----------------------------------
* docs/MacOSX: update (Dale Enterprise L.L.C)

@ -84,10 +84,10 @@ void print_version(void)
if((daily = cl_cvdhead(path))) {
time_t t = (time_t) daily->stime;
mprintf("ClamAV "VERSION"/%d/%s", daily->version, ctime(&t));
printf("ClamAV "VERSION"/%d/%s", daily->version, ctime(&t));
cl_cvdfree(daily);
} else {
mprintf("ClamAV "VERSION"\n");
printf("ClamAV "VERSION"\n");
}
free(path);

Loading…
Cancel
Save