Commit 8d6dff61 authored by vysheng's avatar vysheng

Fixed sentCode parse in 12 layer

parent f353054c
......@@ -117,7 +117,7 @@
#define CODE_geo_point_empty 0x1117dd5f
#define CODE_geo_point 0x2049d70c
#define CODE_auth_checked_phone 0xe300cc3b
#define CODE_auth_sent_code 0x2215bcbd
#define CODE_auth_sent_code 0xefed51d9
#define CODE_auth_authorization 0xf6b673a4
#define CODE_auth_exported_authorization 0xdf969c2d
#define CODE_input_notify_peer 0xb8bc5b0c
......
......@@ -384,7 +384,9 @@ void do_help_get_config (void) {
/* {{{ Send code */
char *phone_code_hash;
int send_code_on_answer (struct query *q UU) {
assert (fetch_int () == CODE_auth_sent_code);
assert (fetch_int () == (int)CODE_auth_sent_code);
fetch_bool ();
fetch_int ();
fetch_bool ();
int l = prefetch_strlen ();
char *s = fetch_str (l);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment