diff options
author | ragesalmon <ragesalmon@gmail.com> | 2013-08-02 12:40:39 -0400 |
---|---|---|
committer | ragesalmon <ragesalmon@gmail.com> | 2013-08-02 12:40:39 -0400 |
commit | 563c2b31576ab746084731c7e47620f312bb6c0f (patch) | |
tree | 8522fb9f33b53dfe10e1087fe5f1388c78c49c85 /testing | |
parent | eba7fdb9ba0dc76a06098c03a80fb218b2c53cc3 (diff) |
Fixed a build error due to the removal of getnumfriends()
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') { |