randyk 2003/04/19 20:16:27
Modified: src apreq_parsers.c
Log:
move assignment statement to after variable declarations.
Revision Changes Path
1.16 +2 -1 httpd-apreq-2/src/apreq_parsers.c
Index: apreq_parsers.c
===================================================================
RCS file: /home/cvs/httpd-apreq-2/src/apreq_parsers.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- apreq_parsers.c 18 Apr 2003 20:15:50 -0000 1.15
+++ apreq_parsers.c 20 Apr 2003 03:16:27 -0000 1.16
@@ -751,10 +751,11 @@
#define MFD_ERROR -1
if (parser->v.size == 0) {
- const char *bdry, *ct = apreq_env_content_type(req->env);
+ const char *bdry, *ct;
apr_size_t blen;
apr_status_t s;
+ ct = apreq_env_content_type(req->env);
memcpy(ctx->bdry, CRLF "--", 4);
s = nextval(&ct, "boundary", &bdry, &blen);