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
f588e38b
Commit
f588e38b
authored
Sep 26, 2006
by
Pekka Pessi
Browse files
nua_glib.c: removed C99isms.
darcs-hash:20060926165139-65a35-6c17c88b3e0ca9baffa4f174caae0eb3bb3c83cf.gz
parent
f7ac476b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
libsofia-sip-ua-glib/nua-glib/nua_glib.c
libsofia-sip-ua-glib/nua-glib/nua_glib.c
+7
-4
No files found.
libsofia-sip-ua-glib/nua-glib/nua_glib.c
View file @
f588e38b
...
...
@@ -260,6 +260,7 @@ nua_glib_constructor (GType type,
GObject
*
obj
;
int
res
=
0
;
GSource
*
gsource
;
NuaGlib
*
self
;
{
/* Invoke parent constructor.
...
...
@@ -274,7 +275,7 @@ nua_glib_constructor (GType type,
construct_properties
);
}
NuaGlib
*
self
=
NUA_GLIB
(
obj
);
self
=
NUA_GLIB
(
obj
);
/* create a su event loop and connect it to glib */
self
->
priv
->
root
=
su_root_source_create
(
self
);
...
...
@@ -1966,6 +1967,8 @@ sof_i_refer (nua_t *nua, NuaGlib *self,
sip_refer_to_t
const
*
refer_to
;
NuaGlibOp
*
op2
;
char
*
refer_to_str
;
char
*
to_url
;
char
*
refer_url
;
assert
(
sip
);
...
...
@@ -1975,10 +1978,10 @@ sof_i_refer (nua_t *nua, NuaGlib *self,
assert
(
from
&&
to
);
char
*
to_url
=
url_as_string
(
self
->
priv
->
home
,
to
->
a_url
);
char
*
refer_url
=
url_as_string
(
self
->
priv
->
home
,
refer_to
->
r_url
);
to_url
=
url_as_string
(
self
->
priv
->
home
,
to
->
a_url
);
refer_url
=
url_as_string
(
self
->
priv
->
home
,
refer_to
->
r_url
);
if
(
refer_to
->
r_url
->
url_type
==
url_sip
)
{
if
(
refer_to
->
r_url
->
url_type
==
url_sip
)
{
refer_to_str
=
sip_header_as_string
(
self
->
priv
->
home
,
(
sip_header_t
*
)
refer_to
);
op2
=
nua_glib_op_create
(
self
,
sip_method_invite
,
refer_to_str
,
NUTAG_NOTIFY_REFER
(
nh
),
TAG_END
());
...
...
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