From: Fabian Keil Date: Fri, 22 Jan 2021 10:17:50 +0000 (+0100) Subject: Add periods to a couple of tagging-related log messages X-Git-Tag: v_3_0_30~36 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=d3856acd00b4c8164f66301b4d7ca01d5521ffbc;p=privoxy.git Add periods to a couple of tagging-related log messages --- diff --git a/client-tags.c b/client-tags.c index 5cb873d4..51e8a9c5 100644 --- a/client-tags.c +++ b/client-tags.c @@ -243,7 +243,7 @@ void get_tag_list_for_client(struct list *tag_list, } else { - log_error(LOG_LEVEL_TAGGING, "Enlisting tag '%s' for client %s", + log_error(LOG_LEVEL_TAGGING, "Enlisting tag '%s' for client %s.", enabled_tags->name, client_address); enlist(tag_list, enabled_tags->name); } @@ -279,7 +279,7 @@ time_t get_next_tag_timeout_for_client(const char *client_address) while (enabled_tags != NULL) { log_error(LOG_LEVEL_TAGGING, - "Evaluating tag '%s' for client %s. End of life %ld", + "Evaluating tag '%s' for client %s. End of life %ld.", enabled_tags->name, client_address, enabled_tags->end_of_life); if (enabled_tags->end_of_life) { @@ -565,7 +565,8 @@ jb_err enable_client_specific_tag(struct client_state *csp, if (client_has_requested_tag(csp->client_address, tag_name)) { log_error(LOG_LEVEL_TAGGING, - "Tag '%s' already enabled for client '%s'", tag->name, csp->client_address); + "Tag '%s' already enabled for client '%s'.", + tag->name, csp->client_address); } else { @@ -611,12 +612,12 @@ jb_err disable_client_specific_tag(struct client_state *csp, const char *tag_nam { remove_tag_for_client(csp->client_address, tag_name); log_error(LOG_LEVEL_TAGGING, - "Tag '%s' disabled for client '%s'", tag->name, csp->client_address); + "Tag '%s' disabled for client '%s'.", tag->name, csp->client_address); } else { log_error(LOG_LEVEL_TAGGING, - "Tag '%s' currently not set for client '%s'", + "Tag '%s' currently not set for client '%s'.", tag->name, csp->client_address); } @@ -659,7 +660,7 @@ int client_tag_match(const struct pattern_spec *pattern, { if (0 == regexec(pattern->pattern.tag_regex, tag->str, 0, NULL, 0)) { - log_error(LOG_LEVEL_TAGGING, "Client tag '%s' matches", tag->str); + log_error(LOG_LEVEL_TAGGING, "Client tag '%s' matches.", tag->str); return 1; } }