Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
sofia-sip
Commits
7275a828
Commit
7275a828
authored
May 05, 2006
by
Kai Vehmanen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed commented code segments.
darcs-hash:20060505153337-7659e-593af62eaba47397a79427b2b6cae33519e0b8e7.gz
parent
7885b06b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
libsofia-sip-ua/stun/stun.c
libsofia-sip-ua/stun/stun.c
+6
-12
No files found.
libsofia-sip-ua/stun/stun.c
View file @
7275a828
...
...
@@ -2069,8 +2069,7 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd
->
sd_callback
(
sd
->
sd_magic
,
sh
,
sd
,
action
,
sd
->
sd_state
);
req
->
sr_state
=
stun_dispose_me
;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return
0
;
}
else
if
(
sd
->
sd_first
&&
sd
->
sd_second
)
{
...
...
@@ -2083,8 +2082,7 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd
->
sd_callback
(
sd
->
sd_magic
,
sh
,
sd
,
action
,
sd
->
sd_state
);
req
->
sr_state
=
stun_dispose_me
;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return
0
;
}
else
{
...
...
@@ -2115,8 +2113,7 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd
->
sd_callback
(
sd
->
sd_magic
,
sh
,
sd
,
action
,
sd
->
sd_state
);
req
->
sr_state
=
stun_dispose_me
;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return
0
;
}
}
...
...
@@ -2137,8 +2134,7 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd
->
sd_callback
(
sd
->
sd_magic
,
sh
,
sd
,
action
,
sd
->
sd_state
);
req
->
sr_state
=
stun_dispose_me
;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return
0
;
}
if
(
sd
->
sd_first
&&
sd
->
sd_second
)
{
...
...
@@ -2154,19 +2150,17 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd
->
sd_callback
(
sd
->
sd_magic
,
sh
,
sd
,
action
,
sd
->
sd_state
);
req
->
sr_state
=
stun_dispose_me
;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return
0
;
}
else
if
(
sd
->
sd_first
)
{
if
(
memcmp
(
&
local
,
li
->
li_addr
,
8
)
==
0
)
return
0
;
}
}
/* The discovery process is still ongoing, but I can be killed */
req
->
sr_state
=
stun_dispose_me
;
return
0
;
}
...
...
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