httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject svn commit: r152617 - httpd/apreq/branches/multi-env-unstable/t/parsers.c
Date Tue, 08 Feb 2005 04:58:05 GMT
Author: randyk
Date: Mon Feb  7 20:58:03 2005
New Revision: 152617

URL: http://svn.apache.org/viewcvs?view=rev&rev=152617
Log:
move some declarations earlier, for the benefit of certain
compilers like VC++.

Modified:
    httpd/apreq/branches/multi-env-unstable/t/parsers.c

Modified: httpd/apreq/branches/multi-env-unstable/t/parsers.c
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/t/parsers.c?view=diff&r1=152616&r2=152617
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/t/parsers.c (original)
+++ httpd/apreq/branches/multi-env-unstable/t/parsers.c Mon Feb  7 20:58:03 2005
@@ -179,8 +179,9 @@
             apr_size_t len;
             apr_table_t *t, *body;
             apreq_parser_t *parser;
-            apr_bucket_brigade *bb, *vb;
+            apr_bucket_brigade *bb, *vb, *tail;
             apr_status_t rv;
+            apr_bucket *e, *f;
 
             bb = apr_brigade_create(p, ba);
             body = apr_table_make(p, APREQ_DEFAULT_NELTS);
@@ -190,11 +191,9 @@
                                        apreq_parse_multipart,
                                        1000, NULL, NULL, NULL);
 
-            apr_bucket *e = apr_bucket_immortal_create(form_data,
-                                                       strlen(form_data),
-                                                       bb->bucket_alloc);
-            apr_bucket *f;
-            apr_bucket_brigade *tail;
+            e = apr_bucket_immortal_create(form_data,
+                                           strlen(form_data),
+                                           bb->bucket_alloc);
             APR_BRIGADE_INSERT_HEAD(bb, e);
             APR_BRIGADE_INSERT_TAIL(bb, apr_bucket_eos_create(bb->bucket_alloc));
 



Mime
View raw message