From: Ian Holsman Date: Sun, 19 Aug 2001 20:21:07 +0000 (+0000) Subject: MSVC can't seem to handle X-Git-Tag: 2.0.25~271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c802a1d599ca0f245ac8eff740cd2249a206a361;p=apache MSVC can't seem to handle int buffer_len = 1; char test_buffer[buffer_len]; git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90367 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 806b3b8578..e6c4bff722 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -310,7 +310,7 @@ apr_status_t ap_proxy_http_create_connection(apr_pool_t *p, request_rec *r, new = 1; if ((backend->connection) && (backend->connection->id == c->id)) { int buffer_len = 1; - char test_buffer[buffer_len]; + char test_buffer[1]; apr_status_t socket_status; apr_int32_t current_timeout;