newline just in case the original call file did not have a newline at the end.
This fix is in response to a problem I saw reported on the asterisk-users
mailing list.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@72805
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (fd > -1) {
f = fdopen(fd, "a");
if (f) {
- fprintf(f, "%s: %ld %d (%ld)\n", s, (long)ast_mainpid, o->retries, (long) now);
+ fprintf(f, "\n%s: %ld %d (%ld)\n", s, (long)ast_mainpid, o->retries, (long) now);
fclose(f);
} else
close(fd);