]> granicus.if.org Git - apache/commitdiff
no need to copy the string again
authorAndré Malo <nd@apache.org>
Tue, 13 Jan 2004 02:31:15 +0000 (02:31 +0000)
committerAndré Malo <nd@apache.org>
Tue, 13 Jan 2004 02:31:15 +0000 (02:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102316 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index dd95cff9a613f9f5614e6a81b9dce3dd9ad4e29b..43af23b83aec7ef940ef15fb6f55e240e6014c69 100644 (file)
@@ -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));
         }