httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+apa...@sunstarsys.com>
Subject Re: apache_request.c: ApacheRequest___parse
Date Sat, 16 Mar 2002 18:15:56 GMT
Craig McLane <ccmclane@yahoo.com> writes:

> --- libapreq-1.0/c/apache_request.c	Mon Feb 18 08:48:27 2002
> +++ libapreq-1.0-ccm/c/apache_request.c	Sat Mar 16 09:54:19 2002
> @@ -270,7 +270,7 @@
>  int ApacheRequest___parse(ApacheRequest *req)
>  {
>      request_rec *r = req->r;
> -    int result;
> +    int result = OK;
>  
>      if (r->args) {
>          split_to_parms(req, r->args);
> @@ -289,9 +289,6 @@
>  			  "[libapreq] unknown content-type: `%s'", ct);
>  	    result = HTTP_INTERNAL_SERVER_ERROR;
>  	}
> -    }
> -    else {
> -	result = ApacheRequest_parse_urlencoded(req);
>      }
>  
>      req->parsed = 1;

Your patch looks OK to me.  Have you tested it?

-- 
Joe Schaefer

Mime
View raw message