From: Fabian Keil Date: Fri, 14 Jan 2011 19:47:16 +0000 (+0000) Subject: Rephrase a log message in any_loaded_file_changed(). X-Git-Tag: v_3_0_18~355 X-Git-Url: http://www.privoxy.org/gitweb/%22https:/static/@default-cgi@toggle?a=commitdiff_plain;h=cd836de611267ef77546a1a98b83e147b3f0a81b;p=privoxy.git Rephrase a log message in any_loaded_file_changed(). Log messages should start with constant strings to simplify pattern matching. --- diff --git a/loaders.c b/loaders.c index 4c6b50c9..ee8e2006 100644 --- a/loaders.c +++ b/loaders.c @@ -1,4 +1,4 @@ -const char loaders_rcs[] = "$Id: loaders.c,v 1.77 2010/12/26 15:30:28 fabiankeil Exp $"; +const char loaders_rcs[] = "$Id: loaders.c,v 1.78 2010/12/31 14:53:09 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loaders.c,v $ @@ -1472,7 +1472,8 @@ int any_loaded_file_changed(const struct file_list *files_to_check) { if (file_has_been_modified(file_to_check->filename, file_to_check->lastmodified)) { - log_error(LOG_LEVEL_INFO, "%s has been changed", file_to_check->filename); + log_error(LOG_LEVEL_INFO, + "File modification detected: %s", file_to_check->filename); return TRUE; } file_to_check = file_to_check->next;