+ if(++trusted_referrers < MAX_TRUSTED_REFERRERS)
+ {
+ *tl++ = b->url;
+ }
+ else
+ {
+ /*
+ * FIXME: csp->config->trust_list is only needed
+ * to print the trusted referrers in Privoxy's blocking
+ * message. Not printing all of them is certainly better
+ * than writing them into memory that doesn't belong to us,
+ * but when Privoxy 3.0.4 is out, we should look for a real
+ * solution.
+ */
+ log_error(LOG_LEVEL_ERROR,
+ "Too many trusted referrers, %s will not show up in the blocking message.",
+ *b->url);
+ }