diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/nTox_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/nTox_win32.c b/testing/nTox_win32.c index cccd44df..32887586 100644 --- a/testing/nTox_win32.c +++ b/testing/nTox_win32.c | |||
@@ -160,7 +160,7 @@ void list_friends() | |||
160 | 160 | ||
161 | printf("\n[i] Friend List | Total: %d\n\n", activefriends); | 161 | printf("\n[i] Friend List | Total: %d\n\n", activefriends); |
162 | 162 | ||
163 | for (i = 0; i <= getnumfriends(); i++) { | 163 | for (i = 0; i <= 256; i++) {/* TODO: fix this properly*/ |
164 | char name[MAX_NAME_LENGTH]; | 164 | char name[MAX_NAME_LENGTH]; |
165 | getname(i, (uint8_t*)name); | 165 | getname(i, (uint8_t*)name); |
166 | 166 | ||