OSSP CVS Repository

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

Check-in Number: 1175
Date: 2001-Oct-12 15:24:44 (local)
2001-Oct-12 13:24:44 (UTC)
User:thl
Branch:
Comment: prevent cleanup from cleaning up clean things
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp.c      1.89 -> 1.90     1 inserted, 0 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.89 -> 1.90

--- lmtp2nntp.c  2001/10/12 13:23:52     1.89
+++ lmtp2nntp.c  2001/10/12 13:24:44     1.90
@@ -1189,6 +1189,7 @@
 
             /* child must close listening socket */
             sa_destroy(ctx->saAltio);
+            ctx->saAltio = NULL; /* prevent cleanup from free'ing this again */
             
             /* initialize LMTP context */
             lmtp_io.ctx    = ctx;

CVSTrac 2.0.1