OSSP CVS Repository

ossp - Check-in [1821]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1821
Date: 2002-Feb-07 10:01:04 (local)
2002-Feb-07 09:01:04 (UTC)
User:thl
Branch:
Comment: eliminate a nasty copy'n'paste bug which caused segfaults
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_config.c      1.44 -> 1.45     0 inserted, 1 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.44 -> 1.45

--- lmtp2nntp_config.c   2002/02/06 13:51:38     1.44
+++ lmtp2nntp_config.c   2002/02/07 09:01:04     1.45
@@ -542,7 +542,6 @@
             log2(ctx, TRACE, "--headervalue[%d] = \"%s\"", i, (ov->data.m)[i]);
 
         if (ov->ndata >= 1) {
-            if ((ctx->pacl = (struct acl *)malloc(ov->ndata * sizeof(struct acl))) == NULL) throw(0,0,0);
             for (i = 0; i < ov->ndata; i++) {
                 cp = (ov->data.m)[i];
                 log2(ctx, DEBUG, "cp = (data.m)[%d] = \"%s\"", i, cp);

CVSTrac 2.0.1