* status.
*
* Copyright : Written by and Copyright (C) 2001-2017 the
- * Privoxy team. http://www.privoxy.org/
+ * Privoxy team. https://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
* by and Copyright (C) 1997 Anonymous Coders and
snprintf(form, size,
"<form method=\"GET\" action=\""CGI_PREFIX"toggle-client-tag\" style=\"display: inline\">\n"
" <input type=\"hidden\" name=\"tag\" value=\"%s\">\n"
- " <input type=\"hidden\" name=\"toggle-state\" value=\"%u\">\n"
+ " <input type=\"hidden\" name=\"toggle-state\" value=\"%i\">\n"
" <input type=\"hidden\" name=\"expires\" value=\"%u\">\n"
" <input type=\"submit\" value=\"%s\">\n"
"</form>", tag, toggle_state, !expires, button_name);
refresh_delay = get_next_tag_timeout_for_client(csp->client_address);
if (refresh_delay != 0)
{
- snprintf(buf, sizeof(buf), "%d", csp->config->client_tag_lifetime);
+ snprintf(buf, sizeof(buf), "%u", csp->config->client_tag_lifetime);
if (map(exports, "refresh-delay", 1, buf, 1))
{
free_map(exports);
1,
#else
0,
+#endif
+ },
+ {
+ "FEATURE_HTTPS_INSPECTION",
+#ifdef FEATURE_HTTPS_INSPECTION
+ 1,
+#else
+ 0,
#endif
},
{