Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
8d6dff61
Commit
8d6dff61
authored
Mar 21, 2014
by
vysheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed sentCode parse in 12 layer
parent
f353054c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
constants.h
constants.h
+1
-1
queries.c
queries.c
+3
-1
No files found.
constants.h
View file @
8d6dff61
...
...
@@ -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 0x
2215bcbd
#define CODE_auth_sent_code 0x
efed51d9
#define CODE_auth_authorization 0xf6b673a4
#define CODE_auth_exported_authorization 0xdf969c2d
#define CODE_input_notify_peer 0xb8bc5b0c
...
...
queries.c
View file @
8d6dff61
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment