mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 15:53:26 +01:00
was making the ID change on every startup
This commit is contained in:
parent
35f7ba210d
commit
31a9a344d2
7
main.c
7
main.c
@ -427,15 +427,16 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(f_loadfromfile)
|
|
||||||
load_data(DATA_FILE);
|
|
||||||
free(DATA_FILE);
|
|
||||||
|
|
||||||
init_term();
|
init_term();
|
||||||
init_tox();
|
init_tox();
|
||||||
init_windows();
|
init_windows();
|
||||||
init_window_status();
|
init_window_status();
|
||||||
|
|
||||||
|
if(f_loadfromfile)
|
||||||
|
load_data(DATA_FILE);
|
||||||
|
free(DATA_FILE);
|
||||||
|
|
||||||
int connected = init_connection();
|
int connected = init_connection();
|
||||||
if (connected != 0)
|
if (connected != 0)
|
||||||
wprintw(prompt->window, "Auto-connect failed (error code %d)\n", connected);
|
wprintw(prompt->window, "Auto-connect failed (error code %d)\n", connected);
|
||||||
|
Loading…
Reference in New Issue
Block a user