diff options
Diffstat (limited to 'testing/nTox.c')
-rw-r--r-- | testing/nTox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/nTox.c b/testing/nTox.c index 013afcc4..937d9d54 100644 --- a/testing/nTox.c +++ b/testing/nTox.c | |||
@@ -64,6 +64,9 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line) | |||
64 | } | 64 | } |
65 | int num = atoi(numstring); | 65 | int num = atoi(numstring); |
66 | m_sendmessage(num, (uint8_t*) message, sizeof(message)); | 66 | m_sendmessage(num, (uint8_t*) message, sizeof(message)); |
67 | } else if (line[1] == 'q') { //exit | ||
68 | endwin(); | ||
69 | exit(EXIT_SUCCESS); | ||
67 | } | 70 | } |
68 | } else { | 71 | } else { |
69 | //new_lines(line); | 72 | //new_lines(line); |