]> granicus.if.org Git - apache/commit
core: Avoid a compiler warning when NO_LINGCLOSE is used (-Wunreachable-code).
authorYann Ylavic <ylavic@apache.org>
Tue, 15 Sep 2015 16:34:06 +0000 (16:34 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 15 Sep 2015 16:34:06 +0000 (16:34 +0000)
commitbf91d25a68b1ab010c05774225aa57b201b886f0
treec668316076d226b9ca18a6016c6cdb344fa507de
parentb2d6eab07ac95e05069478aed2e7014cabf51f10
core: Avoid a compiler warning when NO_LINGCLOSE is used (-Wunreachable-code).
Also, check c->aborted before apr_socket_shutdown() because it is set earlier,
and there is no point in calling shutdown() before close().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1703248 13f79535-47bb-0310-9956-ffa450edef68
server/connection.c