[asterisk-commits] file: branch 1.4 r50820 - /branches/1.4/main/astmm.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jan 14 14:59:06 MST 2007


Author: file
Date: Sun Jan 14 15:59:05 2007
New Revision: 50820

URL: http://svn.digium.com/view/asterisk?view=rev&rev=50820
Log:
Add missing newlines for two memory CLI commands.

Modified:
    branches/1.4/main/astmm.c

Modified: branches/1.4/main/astmm.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/astmm.c?view=diff&rev=50820&r1=50819&r2=50820
==============================================================================
--- branches/1.4/main/astmm.c (original)
+++ branches/1.4/main/astmm.c Sun Jan 14 15:59:05 2007
@@ -347,7 +347,7 @@
 	ast_mutex_unlock(&showmemorylock);
 	
 	if (cache_len)
-		ast_cli(fd, "%d bytes allocated (%d in caches) in %d allocations", len, cache_len, count);
+		ast_cli(fd, "%d bytes allocated (%d in caches) in %d allocations\n", len, cache_len, count);
 	else
 		ast_cli(fd, "%d bytes allocated in %d allocations\n", len, count);
 	
@@ -424,7 +424,7 @@
 	}
 
 	if (cache_len)
-		ast_cli(fd, "%d bytes allocated (%d in caches) in %d allocations", len, cache_len, count);
+		ast_cli(fd, "%d bytes allocated (%d in caches) in %d allocations\n", len, cache_len, count);
 	else
 		ast_cli(fd, "%d bytes allocated in %d allocations\n", len, count);
 



More information about the asterisk-commits mailing list