From: Fabian Keil Date: Sun, 18 Sep 2011 14:42:43 +0000 (+0000) Subject: In forwarded_connect(), fix a log message nobody should ever see X-Git-Tag: v_3_0_18~96 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=2472869f69987595fb214077e738e131801b1731 In forwarded_connect(), fix a log message nobody should ever see --- diff --git a/gateway.c b/gateway.c index a346cec4..9ab19d5d 100644 --- a/gateway.c +++ b/gateway.c @@ -1,4 +1,4 @@ -const char gateway_rcs[] = "$Id: gateway.c,v 1.76 2011/09/04 11:10:56 fabiankeil Exp $"; +const char gateway_rcs[] = "$Id: gateway.c,v 1.77 2011/09/06 18:46:17 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/gateway.c,v $ @@ -659,7 +659,7 @@ jb_socket forwarded_connect(const struct forward_spec * fwd, default: /* Should never get here */ log_error(LOG_LEVEL_FATAL, - "SOCKS4 impossible internal error - bad SOCKS type."); + "Internal error in forwarded_connect(). Bad proxy type: %d", fwd->type); } if (JB_INVALID_SOCKET != sfd)