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
2a1df8cd
Commit
2a1df8cd
authored
Jan 08, 2016
by
V V
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fix
parent
da669580
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
interface.c
interface.c
+2
-2
No files found.
interface.c
View file @
2a1df8cd
...
...
@@ -494,9 +494,9 @@ tgl_peer_id_t parse_input_peer_id (const char *s, int l, int mask) {
if
(
*
s
==
'@'
)
{
s
++
;
l
--
;
char
*
tmp
=
strndup
(
s
,
l
);
char
*
tmp
=
t
strndup
(
s
,
l
);
struct
username_peer_pair
*
p
=
tree_lookup_username_peer_pair
(
username_peer_pair
,
(
void
*
)
&
tmp
);
free
(
tmp
);
tfree_str
(
tmp
);
if
(
p
&&
(
!
mask
||
tgl_get_peer_type
(
p
->
peer
->
id
)
==
mask
))
{
return
p
->
peer
->
id
;
}
else
{
...
...
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