diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/nTox_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/nTox_win32.c b/testing/nTox_win32.c index 6faae31d..9e9a5b1a 100644 --- a/testing/nTox_win32.c +++ b/testing/nTox_win32.c | |||
@@ -137,11 +137,11 @@ void line_eval(char* line) | |||
137 | } | 137 | } |
138 | 138 | ||
139 | else if (line[1] == 'l') { | 139 | else if (line[1] == 'l') { |
140 | printf("\n[i] Friend List\n\n"); | 140 | printf("\n[i] Friend List - %d\n\n", getnumfriends()); |
141 | 141 | ||
142 | int i; | 142 | int i; |
143 | 143 | ||
144 | for (i=0; i <= num_requests; i++) { | 144 | for (i=0; i < getnumfriends(); i++) { |
145 | char name[MAX_NAME_LENGTH]; | 145 | char name[MAX_NAME_LENGTH]; |
146 | getname(i, (uint8_t*)name); | 146 | getname(i, (uint8_t*)name); |
147 | printf("[%d] %s\n\n", i, (uint8_t*)name); | 147 | printf("[%d] %s\n\n", i, (uint8_t*)name); |