diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-02 13:03:54 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-02 13:03:54 -0400 |
commit | a464752060c738aee7acf0dd8d9b7cca14bdbf96 (patch) | |
tree | 363fbbe169fc6cfef6c52b87cb1f216fd8cc60fb /testing/nTox_win32.c | |
parent | b114575df8e27d0c1f55fad9b490827386865508 (diff) | |
parent | 85324e07a0e8f77135383e248a071cf7943bd311 (diff) |
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
Diffstat (limited to 'testing/nTox_win32.c')
-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') { |