comparison src/route.c @ 114:a80ebfa16cd5

better debugging output (thanks to Paolo)
author meillo@marmaro.de
date Wed, 30 Jun 2010 15:00:59 +0200
parents f671821d8222
children 5f9f3a65032e
comparison
equal deleted inserted replaced
113:c93023f58cc7 114:a80ebfa16cd5
319 DEBUG(5) { 319 DEBUG(5) {
320 GList *node; 320 GList *node;
321 debugf("rcpts for routed delivery, route = %s, id = %s\n", route->name, msg->uid); 321 debugf("rcpts for routed delivery, route = %s, id = %s\n", route->name, msg->uid);
322 foreach(rcpt_list, node) { 322 foreach(rcpt_list, node) {
323 address *rcpt = (address *) (node->data); 323 address *rcpt = (address *) (node->data);
324 debugf("rcpt for routed delivery: <%s@%s>\n", rcpt->local_part, rcpt->domain); 324 debugf(" rcpt for routed delivery: <%s@%s>\n",
325 rcpt->local_part, rcpt->domain);
325 } 326 }
326 } 327 }
327 328
328 /* rewrite return path if there is a table, use that 329 /* rewrite return path if there is a table, use that
329 if an address is found and if it has a domain, use that 330 if an address is found and if it has a domain, use that