summaryrefslogtreecommitdiff
path: root/channels/console_gui.c
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2012-04-06 18:19:03 +0000
committerKinsey Moore <kmoore@digium.com>2012-04-06 18:19:03 +0000
commita485f44022c1e52270244b7bc93efabb4a760be2 (patch)
treec67dac205dac3d0427ba880cb824477dd895b201 /channels/console_gui.c
parentfcb7eb3c59e7a8a5d92437cbcc129ca9f251a866 (diff)
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
Diffstat (limited to 'channels/console_gui.c')
-rw-r--r--channels/console_gui.c6
1 files changed, 3 insertions, 3 deletions
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;