httpd: fix compiler warning
(cherry picked from commit 4e703a579d74587fe8f82fa040e3b39fe4b93b2d)