From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 11 Sep 2020 12:48:12 +0000 (+0200)
Subject: enable_client_specific_tag(): Fix format specifier in a log message
X-Git-Tag: v_3_0_29~115
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/@proxy-info-url@?a=commitdiff_plain;h=c69639154ff95441d53e242be8866dd5de7b3d51;p=privoxy.git

enable_client_specific_tag(): Fix format specifier in a log message
---

diff --git a/client-tags.c b/client-tags.c
index 23eb39f3..a8cb6960 100644
--- a/client-tags.c
+++ b/client-tags.c
@@ -568,7 +568,7 @@ jb_err enable_client_specific_tag(struct client_state *csp,
    {
       add_tag_for_client(csp->client_address, tag_name, time_to_live);
       log_error(LOG_LEVEL_INFO,
-         "Tag '%s' enabled for client '%s'. TTL: %d.",
+         "Tag '%s' enabled for client '%s'. TTL: %ld.",
          tag->name, csp->client_address, time_to_live);
    }