From 923b7a1bdb91f56d5b8e459a06274fecaec48d18 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Thu, 16 Aug 2001 14:05:00 +0000 Subject: [PATCH] We can't use a static buffer for this patch, because that wouldn't be thread safe. Submitted by: Greg Marr git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90214 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocol.c b/server/protocol.c index 7d320efe84..6fbea7ebea 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1167,7 +1167,7 @@ AP_DECLARE(int) ap_vrprintf(request_rec *r, const char *fmt, va_list va) { apr_size_t written; struct ap_vrprintf_data vd; - static char vrprintf_buf[AP_IOBUFSIZE]; + char vrprintf_buf[AP_IOBUFSIZE]; vd.vbuff.curpos = vrprintf_buf; vd.vbuff.endpos = vrprintf_buf + AP_IOBUFSIZE; -- 2.40.0