From 7058745bb00363fa5761b40f90f3121afce6b203 Mon Sep 17 00:00:00 2001 From: hno <> Date: Mon, 14 Oct 2002 14:47:47 +0000 Subject: [PATCH] One more xmalloc typecast for --enable-x-accelerator-vary --- src/http.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http.cc b/src/http.cc index 68a1b747ab..2add703874 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.397 2002/10/14 08:16:58 robertc Exp $ + * $Id: http.cc,v 1.398 2002/10/14 08:47:47 hno Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -367,7 +367,7 @@ httpMakeVaryMark(request_t * request, HttpReply * reply) #if X_ACCELERATOR_VARY vary = httpHeaderGetList(&reply->header, HDR_X_ACCELERATOR_VARY); while (strListGetItem(&vary, ',', &item, &ilen, &pos)) { - char *name = xmalloc(ilen + 1); + char *name = (char *)xmalloc(ilen + 1); xstrncpy(name, item, ilen + 1); Tolower(name); strListAdd(&vstr, name, ','); -- 2.47.2