New function mu_verror().
Showing
1 changed file
with
8 additions
and
0 deletions
... | @@ -53,6 +53,14 @@ mu_syslog_error_printer (const char *fmt, va_list ap) | ... | @@ -53,6 +53,14 @@ mu_syslog_error_printer (const char *fmt, va_list ap) |
53 | static error_pfn_t mu_error_printer = mu_default_error_printer; | 53 | static error_pfn_t mu_error_printer = mu_default_error_printer; |
54 | 54 | ||
55 | int | 55 | int |
56 | mu_verror (const char *fmt, va_list ap) | ||
57 | { | ||
58 | if (mu_error_printer) | ||
59 | return (*mu_error_printer) (fmt, ap); | ||
60 | return 0; | ||
61 | } | ||
62 | |||
63 | int | ||
56 | mu_error (const char *fmt, ...) | 64 | mu_error (const char *fmt, ...) |
57 | { | 65 | { |
58 | int status; | 66 | int status; | ... | ... |
-
Please register or sign in to post a comment