Skip to content
Snippets Groups Projects
Commit ebc0485a authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Fixed minor bugs in the error reporting.

parent ff209a04
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ void sieve_verror
const char *fmt, va_list args)
{
if ( ehandler->log_master )
i_error("%s: %s", location, t_strdup_vprintf(fmt, args));
i_error("sieve: %s: %s", location, t_strdup_vprintf(fmt, args));
ehandler->verror(ehandler, location, fmt, args);
ehandler->errors++;
......@@ -59,7 +59,7 @@ void sieve_vwarning
const char *fmt, va_list args)
{
if ( ehandler->log_master )
i_warning("%s: %s", location, t_strdup_vprintf(fmt, args));
i_warning("sieve: %s: %s", location, t_strdup_vprintf(fmt, args));
ehandler->vwarning(ehandler, location, fmt, args);
ehandler->warnings++;
......@@ -70,7 +70,7 @@ void sieve_vinfo
const char *fmt, va_list args)
{
if ( ehandler->log_master )
i_info("%s: %s", location, t_strdup_vprintf(fmt, args));
i_info("sieve: %s: %s", location, t_strdup_vprintf(fmt, args));
if ( ehandler->log_info )
ehandler->vinfo(ehandler, location, fmt, args);
......
......@@ -109,7 +109,7 @@ void sieve_runtime_error
va_list args;
va_start(args, fmt);
sieve_vinfo(runenv->interp->ehandler, _get_location(runenv), fmt, args);
sieve_verror(runenv->interp->ehandler, _get_location(runenv), fmt, args);
va_end(args);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.