Deleted unneeded code
This commit is contained in:
parent
84905f07de
commit
83be082cec
4
loop.c
4
loop.c
@ -485,9 +485,7 @@ void read_dc (int auth_file_fd, int id, unsigned ver) {
|
||||
|
||||
void empty_auth_file (void) {
|
||||
char *ip = tgl_state.test_mode ? TG_SERVER_TEST : TG_SERVER;
|
||||
static char s[20];
|
||||
sprintf (s, "DC%d", tgl_state.test_mode ? TG_SERVER_TEST_DC : TG_SERVER_DC);
|
||||
bl_do_dc_option (tgl_state.test_mode ? TG_SERVER_TEST_DC : TG_SERVER_DC, strlen (s), s, strlen (ip), ip, 443);
|
||||
bl_do_dc_option (tgl_state.test_mode ? TG_SERVER_TEST_DC : TG_SERVER_DC, 0, "", strlen (ip), ip, 443);
|
||||
bl_do_set_working_dc (tgl_state.test_mode ? TG_SERVER_TEST_DC : TG_SERVER_DC);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user