Let error_response() handle FORWARD_WEBSERVER
[privoxy.git] / cgi.c
diff --git a/cgi.c b/cgi.c
index c67aed4..2e9e265 100644 (file)
--- a/cgi.c
+++ b/cgi.c
@@ -978,6 +978,9 @@ struct http_response *error_response(struct client_state *csp,
          case SOCKS_5T:
             socks_type = "socks5t-";
             break;
+         case FORWARD_WEBSERVER:
+            socks_type = "webserver-";
+            break;
          default:
             log_error(LOG_LEVEL_FATAL, "Unknown socks type: %d.", fwd->type);
       }