From 563c2b31576ab746084731c7e47620f312bb6c0f Mon Sep 17 00:00:00 2001 From: ragesalmon Date: Fri, 2 Aug 2013 12:40:39 -0400 Subject: Fixed a build error due to the removal of getnumfriends() --- testing/nTox_win32.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'testing/nTox_win32.c') 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) else if (inpt_command == 'l') { int activefriends = 0; int i; - - for (i = 0; i <= getnumfriends(); i++) - { - if (m_friendstatus(i) == 4) - activefriends++; - } - - printf("\n[i] Friend List | Total: %d\n\n", activefriends); - - for (i = 0; i <= getnumfriends(); i++) { - char name[MAX_NAME_LENGTH]; - getname(i, (uint8_t*)name); - if (m_friendstatus(i) == 4) - printf("[%d] %s\n\n", i, (uint8_t*)name); - } } else if (inpt_command == 'd') { -- cgit v1.2.3