diff options
author | Lukas Fleischer <lfleischer@lfos.de> | 2016-09-29 06:38:45 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-10-01 19:19:38 +0000 |
commit | 927b0ae30c84fbfce877e35415681dce6eba0229 (patch) | |
tree | be0b56a1b2ecf4bcc767bd927c779c62e38fed2b /contrib/hooks/post-receive.agefile | |
parent | e18a85b6a298feef88da8085ef16fd20ce971071 (diff) | |
download | cgit-927b0ae30c84fbfce877e35415681dce6eba0229.tar cgit-927b0ae30c84fbfce877e35415681dce6eba0229.tar.gz cgit-927b0ae30c84fbfce877e35415681dce6eba0229.zip |
Simplify http_parse_querystring()
Instead of reimplementing URL parameter parsing from scratch, use
url_decode_parameter_name() and url_decode_parameter_value() which are
already provided by Git.
Also, change the return type of http_parse_querystring() to void since
its only caller already ignores the return value.
Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Diffstat (limited to 'contrib/hooks/post-receive.agefile')
0 files changed, 0 insertions, 0 deletions