ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.95 -> 1.96
--- lmtp2nntp_config.c 2004/04/02 13:52:50 1.95
+++ lmtp2nntp_config.c 2004/04/02 13:55:37 1.96
@@ -286,7 +286,7 @@
}
/* if only blocking ACLs exist, reserve space for two additional pass-through wildcards */
- ctx->pacl = (struct acl *)mallocex((ov->ndata + somepass ? 0 : 2 ) * sizeof(struct acl));
+ ctx->pacl = (struct acl *)mallocex((ov->ndata + (somepass ? 0 : 2 )) * sizeof(struct acl));
if (ov->ndata >= 1) {
for (i = 0; i < ov->ndata; i++) {
|
|