summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/nTox.c3
-rw-r--r--testing/nTox_win32.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index 5f184407..54f973d0 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -38,7 +38,7 @@ char line[STRING_LENGTH];
38int x, y; 38int x, y;
39 39
40uint8_t pending_requests[256][CLIENT_ID_SIZE]; 40uint8_t pending_requests[256][CLIENT_ID_SIZE];
41uint8_t num_requests; 41uint8_t num_requests = 0;
42 42
43void new_lines(char *line) 43void new_lines(char *line)
44{ 44{
@@ -57,6 +57,7 @@ void print_friendlist()
57 new_lines("[i] Friend List:"); 57 new_lines("[i] Friend List:");
58 uint32_t i; 58 uint32_t i;
59 for (i = 0; i <= num_requests; i++) { 59 for (i = 0; i <= num_requests; i++) {
60 printf ("num_resusts: %d\n", num_requests);
60 char fstring[128]; 61 char fstring[128];
61 62
62 getname(i, (uint8_t*)name); 63 getname(i, (uint8_t*)name);
diff --git a/testing/nTox_win32.c b/testing/nTox_win32.c
index 3286bb3a..27ab6a77 100644
--- a/testing/nTox_win32.c
+++ b/testing/nTox_win32.c
@@ -27,7 +27,7 @@
27#include <process.h> 27#include <process.h>
28 28
29uint8_t pending_requests[256][CLIENT_ID_SIZE]; 29uint8_t pending_requests[256][CLIENT_ID_SIZE];
30uint8_t num_requests; 30uint8_t num_requests = 0;
31 31
32char line[STRING_LENGTH]; 32char line[STRING_LENGTH];
33char users_id[200]; 33char users_id[200];