Commit 06e33169 06e331692c41154b63be68abdaef824165134599 by Sergey Poznyakoff

(mh_error): Moved from mh_error.c

1 parent e7045ced
......@@ -1020,3 +1020,13 @@ mh_draft_message (const char *name, const char *msgspec, char **pname)
return rc;
}
void
mh_error(const char *fmt, ...)
{
va_list ap;
va_start (ap, fmt);
fprintf (stderr, "%s: ", program_invocation_short_name);
vfprintf (stderr, fmt, ap);
fprintf (stderr, "\n");
va_end (ap);
}
......