diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/nTox_win32.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/testing/nTox_win32.c b/testing/nTox_win32.c index 42780923..27fc6ff3 100644 --- a/testing/nTox_win32.c +++ b/testing/nTox_win32.c | |||
@@ -151,21 +151,6 @@ void line_eval(char* line) | |||
151 | else if (inpt_command == 'l') { | 151 | else if (inpt_command == 'l') { |
152 | int activefriends = 0; | 152 | int activefriends = 0; |
153 | int i; | 153 | int i; |
154 | |||
155 | for (i = 0; i <= getnumfriends(); i++) | ||
156 | { | ||
157 | if (m_friendstatus(i) == 4) | ||
158 | activefriends++; | ||
159 | } | ||
160 | |||
161 | printf("\n[i] Friend List | Total: %d\n\n", activefriends); | ||
162 | |||
163 | for (i = 0; i <= getnumfriends(); i++) { | ||
164 | char name[MAX_NAME_LENGTH]; | ||
165 | getname(i, (uint8_t*)name); | ||
166 | if (m_friendstatus(i) == 4) | ||
167 | printf("[%d] %s\n\n", i, (uint8_t*)name); | ||
168 | } | ||
169 | } | 154 | } |
170 | 155 | ||
171 | else if (inpt_command == 'd') { | 156 | else if (inpt_command == 'd') { |