From: Ryan Bloom Date: Thu, 16 Aug 2001 14:05:00 +0000 (+0000) Subject: We can't use a static buffer for this patch, because that wouldn't X-Git-Tag: 2.0.24~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=923b7a1bdb91f56d5b8e459a06274fecaec48d18;p=apache 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 --- 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;