From 5a0c148d68daa4851d0ee6f39692f31b2a75632a Mon Sep 17 00:00:00 2001 From: aCaB Date: Mon, 11 Feb 2008 13:20:44 +0000 Subject: [PATCH] gotta love brackets git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3609 77e5149b-7576-45b1-b177-96237e5ba77b --- libclamav/nsis/nulsft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libclamav/nsis/nulsft.c b/libclamav/nsis/nulsft.c index 0a02fb17b..7e44fd80b 100644 --- a/libclamav/nsis/nulsft.c +++ b/libclamav/nsis/nulsft.c @@ -184,7 +184,7 @@ static int nsis_unpack_next(struct nsis_st *n, cli_ctx *ctx) { return CL_BREAK; } - if ((ret=cli_checklimits("NSIS", ctx 0, 0, 0))!=CL_CLEAN) + if ((ret=cli_checklimits("NSIS", ctx, 0, 0, 0))!=CL_CLEAN) return ret; if (n->fno) @@ -223,7 +223,7 @@ static int nsis_unpack_next(struct nsis_st *n, cli_ctx *ctx) { n->asz -= size+4; - if ((ret=cli_checklimits("NSIS", ctx, size, 0, 0)!=CL_CLEAN) { + if ((ret=cli_checklimits("NSIS", ctx, size, 0, 0))!=CL_CLEAN) { close(n->ofd); if (lseek(n->ifd, size, SEEK_CUR)==-1) return CL_EIO; return ret;