From 04468f360c458c1667156fb68d3e8aec052fd449 Mon Sep 17 00:00:00 2001 From: aCaB Date: Tue, 25 Mar 2008 01:47:42 +0000 Subject: [PATCH] nsis typoes git-svn: trunk@3743 --- ChangeLog | 4 ++++ libclamav/nsis/nulsft.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a9901b094..0c664a7ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Mar 25 01:55:19 CET 2008 (acab) +----------------------------------- + * libclamav/nsis: typoes - bb#894 + Mon Mar 24 21:22:16 EET 2008 (edwin) ----------------------------------- * libclamav/str.c: cli_warnmsg -> cli_dbgmsg (bb #892) diff --git a/libclamav/nsis/nulsft.c b/libclamav/nsis/nulsft.c index a0e1bd808..a5d01b2ba 100644 --- a/libclamav/nsis/nulsft.c +++ b/libclamav/nsis/nulsft.c @@ -315,7 +315,7 @@ static int nsis_unpack_next(struct nsis_st *n, cli_ctx *ctx) { if (gotsome) { ret = CL_SUCCESS; } else { - ret CL_EMAXSIZE; + ret = CL_EMAXSIZE; close(n->ofd); } free(ibuf); @@ -420,7 +420,6 @@ static int nsis_unpack_next(struct nsis_st *n, cli_ctx *ctx) { gotsome=1; if (cli_writen(n->ofd, obuf, n->nsis.next_out - obuf) != n->nsis.next_out - obuf) { cli_dbgmsg("NSIS: cannot write output file"__AT__"\n"); - free(ibuf); close(n->ofd); return CL_EIO; }