OSSP CVS Repository

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

Check-in Number: 2160
Date: 2002-May-28 13:29:00 (local)
2002-May-28 11:29:00 (UTC)
User:thl
Branch:
Comment: changed from coder to user type logging
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c      1.17 -> 1.18     8 inserted, 2 deleted

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

--- lmtp2nntp_msg.c      2002/05/28 07:53:16     1.17
+++ lmtp2nntp_msg.c      2002/05/28 11:29:00     1.18
@@ -788,8 +788,11 @@
         headerdata_t *hdI, *hdP;
         char *cp;
 
+        logbook(msg->l2, L2_LEVEL_TRACE, "headermatrix build up");
+
         cp = NULL;
         while ((cp = argz_next(msg->azHeaders, msg->asHeaders, cp)) != NULL) { /* for each message header */
+            logbook(msg->l2, L2_LEVEL_DEBUG, "processing message header \"%s\"", cp);
 
             /*FIXME we want O(1) here */
             for (hdP = NULL, hdI = msg->hdFirst; hdI != NULL; hdP = hdI, hdI = hdI->next) { /* for each matrix header */
@@ -846,6 +849,9 @@
 void msg_headermatrixteardwn(msg_t *msg)
 {
     ex_t ex;
+
+    logbook(msg->l2, L2_LEVEL_TRACE, "headermatrix tear down");
+
     try {
         headerdata_t *hdI;
 
@@ -854,8 +860,8 @@
         msg->azHeaders = NULL;
         msg->asHeaders = 0;
 
-        for (hdI = msg->hdFirst; hdI != NULL; hdI = hdI->next) { /* for each matrix header */
-            logbook(msg->l2, L2_LEVEL_DEBUG, "FIXME trace loop hdI=%.8lx, hI->name=\"%s\"", hdI, hdI->name);
+        for (hdI = msg->hdFirst; hdI != NULL; hdI = hdI->next) { /* for each header */
+            logbook(msg->l2, L2_LEVEL_DEBUG, "processing matrix header \"%s\"", hdI->name);
             if (hdI->name == NULL || strlen(hdI->name) == 0 || hdI->ndata == 0)
                 continue;
             if (hdI->ndata == 0) {

CVSTrac 2.0.1