]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Make some error checking more clear by using the defined constants instead
authorGarrett Rooney <rooneg@apache.org>
Thu, 12 Jan 2006 22:51:00 +0000 (22:51 +0000)
committerGarrett Rooney <rooneg@apache.org>
Thu, 12 Jan 2006 22:51:00 +0000 (22:51 +0000)
commit668a5863a73012175b9b4e30e54c0067d2c27160
tree745cd7fc092b2aa836a3a3c669098ad48ab2d4e4
parent144837a6a61cc25ff6e432595765148fc357a8e6
Make some error checking more clear by using the defined constants instead
of literal values.

Patch by: Dan Rall <dlr apache.org>

* server/request.c
  (ap_process_request_internal): Check the return value of hook functions
   against the constant OK instead of the magic number 0 to improve clarity.

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