OSSP CVS Repository

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

Check-in Number: 2159
Date: 2002-May-28 09:53:16 (local)
2002-May-28 07:53:16 (UTC)
User:thl
Branch:
Comment: data.m and .s are unions, so cpOld is really needed but strdup is not
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c      1.16 -> 1.17     1 inserted, 1 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c 1.16 -> 1.17

--- lmtp2nntp_msg.c      2002/05/27 15:37:21     1.16
+++ lmtp2nntp_msg.c      2002/05/28 07:53:16     1.17
@@ -821,7 +821,7 @@
                 cpOld = hdI->data.s;
                 logbook(msg->l2, L2_LEVEL_DEBUG, "header=%s, currently single valued", hdI->name);
                 hdI->data.m = (char **)mallocex(3 * sizeof(char *));
-                hdI->data.m[0] = strdupex(cpOld); //FIXME
+                hdI->data.m[0] = cpOld;
                 hdI->data.m[1] = strdupex(cp);
                 hdI->data.m[2] = NULL;
                 hdI->ndata = 2;

CVSTrac 2.0.1