Commit 44f275b8 44f275b87665d268eab64dbe600506b11fc710ee by Sergey Poznyakoff

Bugfixes.

* mailbox/debug.c (mu_debug_printv): use mu_debug_vprintf
* mailbox/message_stream.c (restore_envelope): supplied
sender address must be a single word.
1 parent e2dff986
......@@ -247,7 +247,7 @@ mu_debug_printv (mu_debug_t debug, mu_log_level_t level, const char *format,
return EINVAL;
if (debug->level & MU_DEBUG_LEVEL_MASK (level))
return 0;
return mu_debug_printf (debug, level, format, ap);
return mu_debug_vprintf (debug, level, format, ap);
}
int
......
......@@ -293,7 +293,7 @@ restore_envelope (mu_stream_t str, struct _mu_rfc822_message **pmenv)
mu_address_create (&addr, from);
if (!addr
|| mu_address_aget_email (addr, 1, &env_from))
env_from = strdup ("GNU Mailutils");
env_from = strdup ("GNU-Mailutils");
mu_address_destroy (&addr);
}
else
......