Author: rhuijben
Date: Tue Nov 24 09:09:31 2015
New Revision: 1716080
URL: http://svn.apache.org/viewvc?rev=1716080&view=rev
Log:
* config_store.c
* incoming.c
Align some printfs that should print the same pointer.
Modified:
serf/branches/pump-investigate/config_store.c
serf/branches/pump-investigate/incoming.c
Modified: serf/branches/pump-investigate/config_store.c
URL:
http://svn.apache.org/viewvc/serf/branches/pump-investigate/config_store.c?rev=1716080&r1=1716079&r2=1716080&view=diff
==============================================================================
--- serf/branches/pump-investigate/config_store.c (original)
+++ serf/branches/pump-investigate/config_store.c Tue Nov 24 09:09:31 2015
@@ -188,6 +188,8 @@ apr_status_t serf__config_store_get_clie
{
serf__config_store_t *config_store = &ctx->config_store;
+ fprintf(stderr, "Getting config (client pool=%p, out pool=%p)\n",
client->pool, out_pool);
+
serf_config_t *cfg = apr_pcalloc(out_pool, sizeof(serf_config_t));
cfg->ctx_pool = ctx->pool;
cfg->per_context = config_store->global_per_context;
Modified: serf/branches/pump-investigate/incoming.c
URL:
http://svn.apache.org/viewvc/serf/branches/pump-investigate/incoming.c?rev=1716080&r1=1716079&r2=1716080&view=diff
==============================================================================
--- serf/branches/pump-investigate/incoming.c (original)
+++ serf/branches/pump-investigate/incoming.c Tue Nov 24 09:09:31 2015
@@ -691,7 +691,7 @@ apr_status_t serf_incoming_create2(
ic->ctx = ctx;
ic->pool = ic_pool;
- fprintf(stderr, "Creating allocator in pool %p\n", ic_pool);
+ fprintf(stderr, "Creating allocator in pool %p\n", ic_pool);
ic->allocator = serf_bucket_allocator_create(ic_pool, NULL, NULL);
ic->io.type = SERF_IO_CLIENT;
ic->io.u.client = ic;
@@ -712,7 +712,7 @@ apr_status_t serf_incoming_create2(
ic->closed = closed;
ic->closed_baton = closed_baton;
- fprintf(stderr, "Create config in pool %p / stored pool = %p\n", ic_pool,
ic->pool);
+ fprintf(stderr, "Create config in clientpool %p / stored pool = %p\n",
ic_pool, ic->pool);
/* Store the connection specific info in the configuration store */
rv = serf__config_store_get_client_config(ctx, ic, &config, ic_pool);