mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
was making the ID change on every startup
This commit is contained in:
parent
401cbeff37
commit
56df7e556e
|
@ -427,15 +427,16 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
}
|
||||
if(f_loadfromfile)
|
||||
load_data(DATA_FILE);
|
||||
free(DATA_FILE);
|
||||
|
||||
init_term();
|
||||
init_tox();
|
||||
init_windows();
|
||||
init_window_status();
|
||||
|
||||
if(f_loadfromfile)
|
||||
load_data(DATA_FILE);
|
||||
free(DATA_FILE);
|
||||
|
||||
int connected = init_connection();
|
||||
if (connected != 0)
|
||||
wprintw(prompt->window, "Auto-connect failed (error code %d)\n", connected);
|
||||
|
|
Loading…
Reference in New Issue
Block a user