httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r152910 - httpd/apreq/branches/multi-env-unstable/src/apreq_parsers.c
Date Tue, 08 Feb 2005 18:50:31 GMT
Author: joes
Date: Tue Feb  8 10:50:31 2005
New Revision: 152910

URL: http://svn.apache.org/viewcvs?view=rev&rev=152910
Log:

Fix the comment: we're dropping the value's
trailing '&' or ';', not the name's trailing '='
(which is where this comment was cribbed from).

Modified:
    httpd/apreq/branches/multi-env-unstable/src/apreq_parsers.c

Modified: httpd/apreq/branches/multi-env-unstable/src/apreq_parsers.c
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/src/apreq_parsers.c?view=diff&r1=152909&r2=152910
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/src/apreq_parsers.c (original)
+++ httpd/apreq/branches/multi-env-unstable/src/apreq_parsers.c Tue Feb  8 10:50:31 2005
@@ -263,7 +263,7 @@
     }
 
     if (end != APR_BRIGADE_SENTINEL(bb))
-        ((struct iovec *)arr.elts)[arr.nelts - 1].iov_len--; /* drop '=' sign */
+        ((struct iovec *)arr.elts)[arr.nelts - 1].iov_len--; /* drop [&;] */
 
     s = apreq_decodev(v->data, &v->size,
                       (struct iovec *)arr.elts, arr.nelts);



Mime
View raw message