From: André Malo Date: Tue, 13 Jan 2004 02:31:15 +0000 (+0000) Subject: no need to copy the string again X-Git-Tag: pre_ajp_proxy~807 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e0419850a9110ca0e69667953a778c4d6e7e45e;p=apache no need to copy the string again git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102316 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index dd95cff9a6..43af23b83a 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -2291,7 +2291,7 @@ static void add_cookie(request_rec *r, char *s) expires ? exp_time : NULL, NULL); - apr_table_add(rmain->err_headers_out, "Set-Cookie", cookie); + apr_table_addn(rmain->err_headers_out, "Set-Cookie", cookie); apr_pool_userdata_set("set", notename, NULL, rmain->pool); rewritelog((rmain, 5, NULL, "setting cookie '%s'", cookie)); }