git-svn: trunk@3813
Tomasz Kojm authored on 2008/04/28 21:58:13... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Mon Apr 28 13:48:36 CEST 2008 (tk) |
|
2 |
+---------------------------------- |
|
3 |
+ * clamscan/manager.c: print information about clean files when the RAR |
|
4 |
+ code is not compiled-in (bb#999) |
|
5 |
+ |
|
1 | 6 |
Mon Apr 28 12:37:31 CEST 2008 (tk) |
2 | 7 |
---------------------------------- |
3 | 8 |
* libclamav/unzip.c: remove detection of Suspect.Zip and |
... | ... |
@@ -959,7 +959,7 @@ static int scandenied(const char *filename, struct cl_engine *engine, const stru |
959 | 959 |
|
960 | 960 |
int scanfile(const char *filename, struct cl_engine *engine, const struct passwd *user, const struct optstruct *opt, const struct cl_limits *limits, unsigned int options) |
961 | 961 |
{ |
962 |
- int ret, included, printclean = 1; |
|
962 |
+ int ret = 0, included, printclean = 1; |
|
963 | 963 |
const struct optnode *optnode; |
964 | 964 |
char *argument; |
965 | 965 |
#ifdef C_LINUX |
... | ... |
@@ -1056,7 +1056,6 @@ int scanfile(const char *filename, struct cl_engine *engine, const struct passwd |
1056 | 1056 |
|
1057 | 1057 |
/* in other case try to continue with external archivers */ |
1058 | 1058 |
options &= ~CL_SCAN_ARCHIVE; /* and disable decompression for the checkfile() below */ |
1059 |
- printclean = 0; |
|
1060 | 1059 |
} |
1061 | 1060 |
|
1062 | 1061 |
if((cli_strbcasestr(filename, ".zip") && opt_check(opt, "unzip")) |