[asterisk-commits] russell: branch 1.4 r72806 - in /branches/1.4: ./ pbx/pbx_spool.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 1 18:52:46 CDT 2007


Author: russell
Date: Sun Jul  1 18:52:45 2007
New Revision: 72806

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72806
Log:
Merged revisions 72805 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72805 | russell | 2007-07-01 18:51:34 -0500 (Sun, 01 Jul 2007) | 5 lines

When appending lines to call files to keep track of retries, write a leading
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.

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/pbx/pbx_spool.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/pbx/pbx_spool.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_spool.c?view=diff&rev=72806&r1=72805&r2=72806
==============================================================================
--- branches/1.4/pbx/pbx_spool.c (original)
+++ branches/1.4/pbx/pbx_spool.c Sun Jul  1 18:52:45 2007
@@ -257,7 +257,7 @@
 	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);




More information about the asterisk-commits mailing list