From bc7d45f56c370ceedacc6320d9103dbcfc0eb413 Mon Sep 17 00:00:00 2001 From: file Date: Sun, 14 Jan 2007 22:00:51 +0000 Subject: Merged revisions 50820 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r50820 | file | 2007-01-14 16:59:05 -0500 (Sun, 14 Jan 2007) | 2 lines Add missing newlines for two memory CLI commands. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50821 f38db490-d61c-443f-a65b-d21fe96a405b --- main/astmm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/astmm.c') diff --git a/main/astmm.c b/main/astmm.c index a837fa02e..4c3f5ca2d 100644 --- a/main/astmm.c +++ b/main/astmm.c @@ -347,7 +347,7 @@ static int handle_show_memory(int fd, int argc, char *argv[]) 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 @@ static int handle_show_memory_summary(int fd, int argc, char *argv[]) } 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); -- cgit v1.2.3