git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5334
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
-- A line was missing for the autosupport script that caused "make rpm" to fail
-- Fixed a problem with wav formatting that prevented files from being played
in some media players
+ -- Fixed if the last line of text in a file for the call spool did not contain
+ a new line, it would not be processed
Asterisk 1.0.7
while(!feof(f)) {
fgets(buf, sizeof(buf), f);
lineno++;
- if (!feof(f)) {
+ if (!ast_strlen_zero(buf)) {
/* Trim comments */
c = buf;
while ((c = strchr(c, '#'))) {