1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 21:43:02 +01:00

was making the ID change on every startup

This commit is contained in:
Jfreegman 2013-08-10 18:00:54 -04:00
parent 35f7ba210d
commit 31a9a344d2

7
main.c
View File

@ -427,14 +427,15 @@ 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)