]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Correctly check return value of getline
authorRuediger Pluem <rpluem@apache.org>
Wed, 4 Jun 2025 09:16:24 +0000 (09:16 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 4 Jun 2025 09:16:24 +0000 (09:16 +0000)
commitb5fe0f863fae56ee0b0800af7bcd99827b6a9611
tree324a3a5360149deb911a78164e1d202348378ea0
parent32ebb6bee936690e6682e5fe93192063ce25b9c0
Correctly check return value of getline

In case of an error (e.g. file not found or readable) getline returns -1 which
causes an endless loop. Leave the loop in such cases.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926110 13f79535-47bb-0310-9956-ffa450edef68
Makefile.in