--- 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) {
|