X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=errlog.c;h=05a2c82e2bf189790c0e13f026f60af7d2222fca;hp=b9b39cb4091c32c3f376df584094d110620861d1;hb=61478413a02d7be37d44efb5c0c997a39a9da463;hpb=05b37b3095d983ae3695981fa2e761791abb215c diff --git a/errlog.c b/errlog.c index b9b39cb4..05a2c82e 100644 --- a/errlog.c +++ b/errlog.c @@ -6,7 +6,7 @@ * printf-like fashion. * * Copyright : Written by and Copyright (C) 2001-2014 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 @@ -601,7 +601,7 @@ static inline const char *get_log_level_string(int loglevel) case LOG_LEVEL_FATAL: log_level_string = "Fatal error"; break; - case LOG_LEVEL_GPC: + case LOG_LEVEL_REQUEST: log_level_string = "Request"; break; case LOG_LEVEL_CONNECT: @@ -684,7 +684,7 @@ void log_error(int loglevel, const char *fmt, ...) * the taskbar icon animate. (There is an option to disable * this but checking that is handled inside LogShowActivity()). */ - if ((loglevel == LOG_LEVEL_GPC) || (loglevel == LOG_LEVEL_CRUNCH)) + if ((loglevel == LOG_LEVEL_REQUEST) || (loglevel == LOG_LEVEL_CRUNCH)) { LogShowActivity(); } @@ -799,7 +799,7 @@ void log_error(int loglevel, const char *fmt, ...) break; case 'c': /* - * Note that char paramaters are converted to int, so we need to + * Note that char parameters are converted to int, so we need to * pass "int" to va_arg. (See K&R, 2nd ed, section A7.3.2, page 202) */ tempbuf[0] = (char) va_arg(ap, int);