Skip to content
Snippets Groups Projects
Commit 6e764dc0 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix spool files that lack their last return

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 07b9a5e8
Branches
Tags
No related merge requests found
......@@ -97,7 +97,7 @@ static int apply_outgoing(struct outgoing *o, char *fn, FILE *f)
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, '#'))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment