aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_oss.c')
-rwxr-xr-xchannels/chan_oss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c
index dbfe53f61..10e435969 100755
--- a/channels/chan_oss.c
+++ b/channels/chan_oss.c
@@ -855,6 +855,7 @@ static int console_sendtext(int fd, int argc, char *argv[])
strncat(text2send, " ", sizeof(text2send) - strlen(text2send) - 1);
}
if (strlen(text2send)) {
+ text2send[strlen(text2send) - 1] = '\n';
f.frametype = AST_FRAME_TEXT;
f.subclass = 0;
f.data = text2send;