summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJfreegman <Jfreegman@gmail.com>2013-07-31 17:38:39 -0400
committerJfreegman <Jfreegman@gmail.com>2013-07-31 17:38:39 -0400
commit44d9e248551d03e0dd94609471eaefa6d347f76b (patch)
treef7a7c93fa7ff8d3112b0dfe9a39681d63ca7dbf3
parent0ae9ec1815c82a9b0c0d5b116dcffe386a3ae218 (diff)
small fix
-rw-r--r--testing/nTox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index f00ea498..17f4b0e7 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -188,7 +188,7 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line)
188 uint8_t numf = atoi(line + 3); 188 uint8_t numf = atoi(line + 3);
189 char numchar[100]; 189 char numchar[100];
190 int num = m_addfriend_norequest(pending_requests[numf]); 190 int num = m_addfriend_norequest(pending_requests[numf]);
191 if (num >= 0) { 191 if (num != -1) {
192 sprintf(numchar, "[i] friend request %u accepted", numf); 192 sprintf(numchar, "[i] friend request %u accepted", numf);
193 new_lines(numchar); 193 new_lines(numchar);
194 sprintf(numchar, "[i] added friendnumber %d", num); 194 sprintf(numchar, "[i] added friendnumber %d", num);