From: Fabian Keil Date: Tue, 8 Mar 2011 18:32:11 +0000 (+0000) Subject: Rephrase a log message in compile_dynamic_pcrs_job_list() X-Git-Tag: v_3_0_18~304 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=be9a66f0172e27a403646cb57cc85b247523728d Rephrase a log message in compile_dynamic_pcrs_job_list() Devide the error code and its meaning with a colon. Call the pcrs job dynamic and not the filter. Filters may contain dynamic and non-dynamic pcrs jobs at the same time. Only mention the name of the filter or tagger, but don't claim it's a filter when it could be a tagger. --- diff --git a/filters.c b/filters.c index 8849be2f..dd554ba0 100644 --- a/filters.c +++ b/filters.c @@ -1,4 +1,4 @@ -const char filters_rcs[] = "$Id: filters.c,v 1.139 2011/03/03 14:46:37 fabiankeil Exp $"; +const char filters_rcs[] = "$Id: filters.c,v 1.140 2011/03/03 14:47:28 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/filters.c,v $ @@ -1003,7 +1003,7 @@ pcrs_job *compile_dynamic_pcrs_job_list(const struct client_state *csp, const st if (NULL == dummy) { log_error(LOG_LEVEL_ERROR, - "Adding filter job \'%s\' to dynamic filter %s failed: %d %s", + "Compiling dynamic pcrs job '%s' for '%s' failed with error code %d: %s", pattern->str, b->name, error, pcrs_strerror(error)); continue; }