From a485f44022c1e52270244b7bc93efabb4a760be2 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Fri, 6 Apr 2012 18:19:03 +0000 Subject: Add missing newlines to CLI logging ........ Merged revisions 361471 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 361472 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361476 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/console_gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'channels/console_gui.c') diff --git a/channels/console_gui.c b/channels/console_gui.c index 375a4019c..f49152a73 100644 --- a/channels/console_gui.c +++ b/channels/console_gui.c @@ -976,7 +976,7 @@ static void eventhandler(struct video_desc *env, const char *caption) case SDL_ACTIVEEVENT: #if 0 /* do not react, we don't want to die because the window is minimized */ if (ev[i].active.gain == 0 && ev[i].active.state & SDL_APPACTIVE) { - ast_log(LOG_WARNING, "/* somebody has killed us ? */"); + ast_log(LOG_WARNING, "/* somebody has killed us ? */\n"); ast_cli_command(gui->outfd, "stop now"); } #endif @@ -1635,7 +1635,7 @@ static int keypad_cfg_read(struct gui_info *gui, const char *val) if (gui->kp_size == 0) { gui->kp = ast_calloc(10, sizeof(e)); if (gui->kp == NULL) { - ast_log(LOG_WARNING, "cannot allocate kp"); + ast_log(LOG_WARNING, "cannot allocate kp\n"); return 0; } gui->kp_size = 10; @@ -1643,7 +1643,7 @@ static int keypad_cfg_read(struct gui_info *gui, const char *val) if (gui->kp_size == gui->kp_used) { /* must allocate */ struct keypad_entry *a = ast_realloc(gui->kp, sizeof(e)*(gui->kp_size+10)); if (a == NULL) { - ast_log(LOG_WARNING, "cannot reallocate kp"); + ast_log(LOG_WARNING, "cannot reallocate kp\n"); return 0; } gui->kp = a; -- cgit v1.2.3