Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
98573890
Commit
98573890
authored
Oct 17, 2005
by
Pekka Pessi
Browse files
Silenced some gcc4 warnings.
darcs-hash:20051017155606-65a35-ae06b1b65da90b590b84a1cd814a51b3f51a2a18.gz
parent
26ebf935
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
libsofia-sip-ua/nua/nua_stack.c
libsofia-sip-ua/nua/nua_stack.c
+11
-10
No files found.
libsofia-sip-ua/nua/nua_stack.c
View file @
98573890
...
...
@@ -884,18 +884,18 @@ int ua_set_params(nua_t *nua, nua_handle_t *nh, nua_event_t e,
su_home_t
tmphome
[
1
]
=
{
SU_HOME_INIT
(
tmphome
)
};
int
retry_count
=
NHP_GET
(
ohp
,
dnhp
,
retry_count
);
int
max_subscriptions
=
NHP_GET
(
ohp
,
dnhp
,
max_subscriptions
);
unsigned
retry_count
=
NHP_GET
(
ohp
,
dnhp
,
retry_count
);
unsigned
max_subscriptions
=
NHP_GET
(
ohp
,
dnhp
,
max_subscriptions
);
int
invite_enable
=
NHP_GET
(
ohp
,
dnhp
,
invite_enable
);
int
auto_alert
=
NHP_GET
(
ohp
,
dnhp
,
auto_alert
);
int
early_media
=
NHP_GET
(
ohp
,
dnhp
,
early_media
);
int
auto_answer
=
NHP_GET
(
ohp
,
dnhp
,
auto_answer
);
int
auto_ack
=
NHP_GET
(
ohp
,
dnhp
,
auto_ack
);
int
invite_timeout
=
NHP_GET
(
ohp
,
dnhp
,
invite_timeout
);
unsigned
invite_timeout
=
NHP_GET
(
ohp
,
dnhp
,
invite_timeout
);
int
session_timer
=
NHP_GET
(
ohp
,
dnhp
,
session_timer
);
int
min_se
=
NHP_GET
(
ohp
,
dnhp
,
min_se
);
unsigned
session_timer
=
NHP_GET
(
ohp
,
dnhp
,
session_timer
);
unsigned
min_se
=
NHP_GET
(
ohp
,
dnhp
,
min_se
);
int
refresher
=
NHP_GET
(
ohp
,
dnhp
,
refresher
);
int
update_refresh
=
NHP_GET
(
ohp
,
dnhp
,
update_refresh
);
...
...
@@ -2028,7 +2028,7 @@ int session_process_response(nua_handle_t *nh,
msg_t
*
msg
=
nta_outgoing_getresponse_ref
(
orq
);
int
retval
=
0
;
char
const
*
sdp
=
NULL
;
in
t
len
;
size_
t
len
;
if
(
nh
->
nh_soa
==
NULL
)
/* Xyzzy */
;
...
...
@@ -4015,8 +4015,9 @@ int process_invite1(nua_t *nua,
nua_handle_t
*
nh
=
*
return_nh
;
nua_handle_t
*
dnh
=
nua
->
nua_dhandle
,
*
nh0
=
nh
?
nh
:
dnh
;
nua_server_request_t
*
sr
;
int
have_sdp
,
len
;
int
have_sdp
;
char
const
*
sdp
;
size_t
len
;
sip_user_agent_t
const
*
user_agent
=
NH_PGET
(
nh0
,
user_agent
);
#if HAVE_SOFIA_SMIME
...
...
@@ -4400,7 +4401,7 @@ int process_prack(nua_handle_t *nh,
if
(
nh
->
nh_soa
)
{
msg_t
*
msg
=
nta_incoming_getrequest
(
irq
);
char
const
*
sdp
;
in
t
len
;
size_
t
len
;
if
(
session_get_description
(
msg
,
sip
,
&
sdp
,
&
len
))
{
su_home_t
home
[
1
]
=
{
SU_HOME_INIT
(
home
)
};
...
...
@@ -4475,7 +4476,7 @@ int process_ack(nua_handle_t *nh,
if
(
nh
->
nh_soa
&&
sr
->
sr_offer_sent
&&
!
sr
->
sr_answer_recv
)
{
char
const
*
sdp
;
in
t
len
;
size_
t
len
;
if
(
!
session_get_description
(
msg
,
sip
,
&
sdp
,
&
len
)
||
!
(
recv
=
"answer"
)
||
...
...
@@ -5027,8 +5028,8 @@ int process_update(nua_t *nua,
int
response
=
500
;
msg_t
*
msg
=
nta_incoming_getrequest
(
irq
);
int
len
;
char
const
*
sdp
;
size_t
len
;
assert
(
nh
);
...
...
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