diff options
author | Vysheng <mail@vysheng.ru> | 2015-01-13 14:44:13 +0300 |
---|---|---|
committer | Vysheng <mail@vysheng.ru> | 2015-01-13 14:44:13 +0300 |
commit | 05e6fd626463aff2f038d237451283dd93bb80d0 (patch) | |
tree | 9ec0b98d0d77475f634fc2801af43b60fce35958 | |
parent | 04791f646811971195a0753f8f1a29dbe2593f91 (diff) |
Fixed registration problem
-rw-r--r-- | queries.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -256,10 +256,10 @@ int tglq_query_error (struct tgl_state *TLS, long long id) { bl_do_set_working_dc (TLS, i); q->flags &= ~QUERY_ACK_RECEIVED; //q->session_id = 0; - struct tgl_dc *DC = q->DC; - if (!(DC->flags & 4) && !(q->flags & QUERY_FORCE_SEND)) { - q->session_id = 0; - } + //struct tgl_dc *DC = q->DC; + //if (!(DC->flags & 4) && !(q->flags & QUERY_FORCE_SEND)) { + q->session_id = 0; + //} q->DC = TLS->DC_working; TLS->timer_methods->insert (q->ev, 0); error_handled = 1; |