diff options
author | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-03-02 19:52:23 +0000 |
---|---|---|
committer | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-03-02 19:52:23 +0000 |
commit | b9ae36c893be71d08354eda4a1e9c57ecd1e9747 (patch) | |
tree | 49a0b255f96975b7dfdf034d2510066935dc2894 /channels/chan_oss.c | |
parent | 708c892f574fa92b0054d079713ed9b1ec4d3da7 (diff) |
dom mar 2 20:52:10 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_oss.c')
-rwxr-xr-x | channels/chan_oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c index f5fcea126..a5de53844 100755 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -819,7 +819,7 @@ static int console_sendtext(int fd, int argc, char *argv[]) if (strlen(text2send)) ast_cli(fd, "Warning: message already waiting to be sent, overwriting\n"); strcpy(text2send, ""); - while(tmparg <= argc) { + while(tmparg < argc) { strncat(text2send, argv[tmparg++], sizeof(text2send) - strlen(text2send)); strncat(text2send, " ", sizeof(text2send) - strlen(text2send)); } |