Move an feof() call to before the fgets().
authorJason Parker <jparker@digium.com>
Fri, 1 Feb 2008 17:44:32 +0000 (17:44 +0000)
committerJason Parker <jparker@digium.com>
Fri, 1 Feb 2008 17:44:32 +0000 (17:44 +0000)
commit03a95a20db97674ed999f18204062a8f3abfd40b
tree216bb5f02abba9a6ffeaaf893408b8dfec380cd8
parent55f2aa4fa71ec4b8e79252d93a6f1758065b8dba
Move an feof() call to before the fgets().
This would have exited the loop early if you had an authentication file with no newline at the end.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_authenticate.c