Author: rhuijben
Date: Sun Nov 15 14:41:20 2015
New Revision: 1714457

URL: http://svn.apache.org/viewvc?rev=1714457&view=rev
Log:
Fix some breakage when using different setups.

* SConstruct
  Add new file.
  
* incoming.c
  (serf_incoming_create2): Move declaration up a bit.

Modified:
    serf/trunk/SConstruct
    serf/trunk/incoming.c

Modified: serf/trunk/SConstruct
URL: 
http://svn.apache.org/viewvc/serf/trunk/SConstruct?rev=1714457&r1=1714456&r2=1714457&view=diff
==============================================================================
--- serf/trunk/SConstruct (original)
+++ serf/trunk/SConstruct Sun Nov 15 14:41:20 2015
@@ -514,6 +514,7 @@ testall_files = [
         'test/test_buckets.c',
         'test/test_auth.c',
         'test/test_internal.c',
+        'test/test_server.c',
         'test/mock_buckets.c',
         'test/mock_sock_buckets.c',
         'test/test_ssl.c',

Modified: serf/trunk/incoming.c
URL: 
http://svn.apache.org/viewvc/serf/trunk/incoming.c?rev=1714457&r1=1714456&r2=1714457&view=diff
==============================================================================
--- serf/trunk/incoming.c (original)
+++ serf/trunk/incoming.c Sun Nov 15 14:41:20 2015
@@ -186,10 +186,11 @@ apr_status_t serf_incoming_create2(
 {
     apr_status_t rv;
     apr_pool_t *ic_pool;
+    serf_incoming_t *ic;
 
     apr_pool_create(&ic_pool, pool);
 
-    serf_incoming_t *ic = apr_palloc(ic_pool, sizeof(*ic));
+    ic = apr_palloc(ic_pool, sizeof(*ic));
 
     ic->ctx = ctx;
     ic->pool = ic_pool;


Reply via email to