Fix typo (bb #2060).

Thanks to sherpya.
0.96
Török Edvin 15 years ago
parent 32f05bd3f9
commit 52000eadad
  1. 4
      ChangeLog
  2. 2
      libclamav/others_common.c

@ -1,3 +1,7 @@
Wed Jun 2 10:08:00 EEST 2010 (edwin)
-------------------------------------
* libclamav/others_common.c: fix typo (bb #2060).
Mon May 31 16:57:31 EEST 2010 (edwin)
-------------------------------------
* libclamav/{bytecode.c, others_common.c}: don't attempt to allocate 0 bytes (bb #2042).

@ -697,7 +697,7 @@ static int cli_ftw_dir(const char *dirname, int flags, int maxdepth, cli_ftw_cb
ret = callback(NULL, NULL, dirname, error_stat, data);
if (ret != CL_SUCCESS) {
if (entries) {
for (i++;i<entries_cnt;i++) {
for (i=0;i<entries_cnt;i++) {
struct dirent_data *entry = &entries[i];
free(entry->filename);
free(entry->statbuf);

Loading…
Cancel
Save