Commit 185ef5b0 185ef5b0fb58eae887dd7ba18378dbaa79cf9f99 by Sergey Poznyakoff

Add extra debug info

1 parent d0e8c315
1 /* GNU Mailutils -- a suite of utilities for electronic mail 1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2000, 2001, 2004, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public 6 modify it under the terms of the GNU Lesser General Public
...@@ -381,6 +382,8 @@ sendmail_send_message (mu_mailer_t mailer, mu_message_t msg, mu_address_t from, ...@@ -381,6 +382,8 @@ sendmail_send_message (mu_mailer_t mailer, mu_message_t msg, mu_address_t from,
381 if (strncasecmp (buffer, MU_HEADER_FCC, 382 if (strncasecmp (buffer, MU_HEADER_FCC,
382 sizeof (MU_HEADER_FCC) - 1)) 383 sizeof (MU_HEADER_FCC) - 1))
383 { 384 {
385 MAILER_DEBUG1 (mailer, MU_DEBUG_PROT,
386 "Header: %s", buffer);
384 if (write (sendmail->fd, buffer, len) == -1) 387 if (write (sendmail->fd, buffer, len) == -1)
385 { 388 {
386 status = errno; 389 status = errno;
......