1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-20 03:26:35 +02:00

cflags were doing nothing

This commit is contained in:
Jfreegman
2013-11-15 21:36:05 -05:00
parent 40b79f5e69
commit e9ef2b1fc6
4 changed files with 4 additions and 6 deletions

View File

@ -7,5 +7,6 @@
ToxWindow new_friendlist();
void disable_chatwin(int f_num);
int get_friendnum(uint8_t *name);
void sort_friendlist_index(void);
#endif /* end of include guard: FRIENDLIST_H_53I41IM */

View File

@ -230,7 +230,7 @@ static void do_tox(Tox *m, ToxWindow *prompt)
if (!dht_on && !tox_isconnected(m) && !(conn_try++ % 100)) {
if (!conn_err) {
wprintw(prompt->window, "Establishing connection...\n");
if (conn_err = init_connection(m))
if ((conn_err = init_connection(m)))
wprintw(prompt->window, "\nAuto-connect failed with error code %d\n", conn_err);
}
} else if (!dht_on && tox_isconnected(m)) {