commit | 5068d96ac184e45f8aa3f28dd11701cffca60b87 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Fri Oct 04 16:27:27 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Oct 23 12:26:50 2013 +0200 |
tree | 45c45db62a95dd03734a5965e7dd073c13de297c | |
parent | de6617b48648a42586d44ff5301a8f09cad48939 [diff] |
MINOR: http: change url_decode to return the size of the decoded string. Currently url_decode returns 1 or 0 depending on whether it could decode the string or not. For some future use cases, it will be needed to get the decoded string length after a successful decoding, so let's make it return that value, and fall back to a negative one in case of error.