summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/nTox.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index 2acf7e94..13e97671 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -88,7 +88,9 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line)
88 } 88 }
89 } 89 }
90 int num = atoi(numstring); 90 int num = atoi(numstring);
91 m_sendmessage(num, (uint8_t*) message, sizeof(message)); 91 if(m_sendmessage(num, (uint8_t*) message, sizeof(message)) != 1) {
92 new_lines("Error sending message.");
93 }
92 } 94 }
93 else if (line[1] == 'n') { 95 else if (line[1] == 'n') {
94 uint8_t name[MAX_NAME_LENGTH]; 96 uint8_t name[MAX_NAME_LENGTH];