Browse code

fixup return value

git-svn: trunk@3384

Trog authored on 2007/12/07 18:40:51
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Fri Dec  7 08:56:02 GMT 2007 (trog)
2
+-----------------------------------
3
+  * libclamav/scanners.c: fixup return value.
4
+
1 5
 Thu Dec  6 15:44:01 CET 2007 (edwin)
2 6
 ------------------------------------
3 7
   * libclamav/regex_list.c: avoid circular list construction, when different
... ...
@@ -425,6 +425,8 @@ static int cli_scanarj(int desc, cli_ctx *ctx, off_t sfx_offset, uint32_t *sfx_c
425 425
     }
426 426
 
427 427
     cli_dbgmsg("ARJ: Exit code: %d\n", ret);
428
+    if (ret == CL_BREAK)
429
+	ret = CL_CLEAN;
428 430
 
429 431
     return ret;
430 432
 }