diff options
author | Ben Burwell <bburwell1@gmail.com> | 2013-05-01 21:45:26 -0400 |
---|---|---|
committer | Ben Burwell <bburwell1@gmail.com> | 2013-05-01 21:45:26 -0400 |
commit | 79ed73cafa1d78087286277b3df8872c4989a64a (patch) | |
tree | d095df448e0844dc51dbf488c6bf089f8ed62c46 /chat_acceptor.h | |
parent | 61696c62d19356ed6133887ebb947e6e1f0a1467 (diff) |
Stop sending newline char at end of SESMSG
Diffstat (limited to 'chat_acceptor.h')
-rw-r--r-- | chat_acceptor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chat_acceptor.h b/chat_acceptor.h index 83d0d51..b8eec36 100644 --- a/chat_acceptor.h +++ b/chat_acceptor.h @@ -28,7 +28,7 @@ void *receive_chat_messages(void *arg) { char *message; message = strtok(in_buf, separators); if (strcmp(message, "SESMSG") == 0) { - printf("\n----> %s", strtok(NULL, separators)); + printf("\n----> %s \n", strtok(NULL, separators)); printf("%s ", prompt); fflush(stdout); } |