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, ...@@ -247,7 +247,7 @@ mu_debug_printv (mu_debug_t debug, mu_log_level_t level, const char *format,
247 return EINVAL; 247 return EINVAL;
248 if (debug->level & MU_DEBUG_LEVEL_MASK (level)) 248 if (debug->level & MU_DEBUG_LEVEL_MASK (level))
249 return 0; 249 return 0;
250 return mu_debug_printf (debug, level, format, ap); 250 return mu_debug_vprintf (debug, level, format, ap);
251 } 251 }
252 252
253 int 253 int
......
...@@ -293,7 +293,7 @@ restore_envelope (mu_stream_t str, struct _mu_rfc822_message **pmenv) ...@@ -293,7 +293,7 @@ restore_envelope (mu_stream_t str, struct _mu_rfc822_message **pmenv)
293 mu_address_create (&addr, from); 293 mu_address_create (&addr, from);
294 if (!addr 294 if (!addr
295 || mu_address_aget_email (addr, 1, &env_from)) 295 || mu_address_aget_email (addr, 1, &env_from))
296 env_from = strdup ("GNU Mailutils"); 296 env_from = strdup ("GNU-Mailutils");
297 mu_address_destroy (&addr); 297 mu_address_destroy (&addr);
298 } 298 }
299 else 299 else
......