]> gitweb.ps.run Git - ps-cgit/commitdiff
Simplify http_parse_querystring()
authorLukas Fleischer <lfleischer@lfos.de>
Thu, 29 Sep 2016 06:38:45 +0000 (08:38 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 1 Oct 2016 19:19:38 +0000 (21:19 +0200)
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>

No differences found