From 35ce830d7603d59f53fdd8e4b315edbf2ee214ee Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Sun, 14 Jan 2007 22:00:51 +0000 Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/trunk@50821 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/astmm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/astmm.c b/main/astmm.c index a837fa02e6..4c3f5ca2d5 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);