httpd: fix trivial bug (spotted by Alex Landau)