Author: rhuijben
Date: Thu Nov 5 19:13:45 2015
New Revision: 1712848
URL: http://svn.apache.org/viewvc?rev=1712848&view=rev
Log:
* test/MockHTTPinC/MockHTTP_server.c
(cloneResponse): Make apr pool debugging a bit happier.
Modified:
serf/trunk/test/MockHTTPinC/MockHTTP_server.c
Modified: serf/trunk/test/MockHTTPinC/MockHTTP_server.c
URL:
http://svn.apache.org/viewvc/serf/trunk/test/MockHTTPinC/MockHTTP_server.c?rev=1712848&r1=1712847&r2=1712848&view=diff
==============================================================================
--- serf/trunk/test/MockHTTPinC/MockHTTP_server.c (original)
+++ serf/trunk/test/MockHTTPinC/MockHTTP_server.c Thu Nov 5 19:13:45 2015
@@ -1226,7 +1226,7 @@ static mhResponse_t *cloneResponse(apr_p
{
mhResponse_t *clone;
clone = apr_pmemdup(pool, resp, sizeof(mhResponse_t));
- clone->hdrs = apr_table_copy(pool, resp->hdrs);
+ clone->hdrs = apr_table_clone(pool, resp->hdrs);
if (resp->chunks)
clone->chunks = apr_array_copy(pool, resp->chunks);
if (resp->body)