Fixed sentCode parse in 12 layer
This commit is contained in:
parent
4b8fe89b79
commit
aa68c2c6ae
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue