Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
b378d355
提交
b378d355
authored
4月 07, 2007
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
merge 2
git-svn-id:
http://svn.freeswitch.org/svn/freeswitch/trunk@4877
d0543943-73ff-0310-b7d9-9358b9ac24b2
上级
631e689e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
12 行增加
和
10 行删除
+12
-10
apr_private.h.in
libs/apr/include/arch/unix/apr_private.h.in
+8
-8
libdingaling.c
libs/libdingaling/src/libdingaling.c
+2
-1
mod_dingaling.c
src/mod/endpoints/mod_dingaling/mod_dingaling.c
+2
-1
没有找到文件。
libs/apr/include/arch/unix/apr_private.h.in
浏览文件 @
b378d355
...
@@ -632,16 +632,16 @@
...
@@ -632,16 +632,16 @@
/* */
/* */
#undef SIGWAIT_TAKES_ONE_ARG
#undef SIGWAIT_TAKES_ONE_ARG
/* The size of
a
`char', as computed by sizeof. */
/* The size of `char', as computed by sizeof. */
#undef SIZEOF_CHAR
#undef SIZEOF_CHAR
/* The size of
a
`int', as computed by sizeof. */
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
#undef SIZEOF_INT
/* The size of
a
`long', as computed by sizeof. */
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
#undef SIZEOF_LONG
/* The size of
a
`long long', as computed by sizeof. */
/* The size of `long long', as computed by sizeof. */
#undef SIZEOF_LONG_LONG
#undef SIZEOF_LONG_LONG
/* The size of off_t */
/* The size of off_t */
...
@@ -650,7 +650,7 @@
...
@@ -650,7 +650,7 @@
/* The size of pid_t */
/* The size of pid_t */
#undef SIZEOF_PID_T
#undef SIZEOF_PID_T
/* The size of
a
`short', as computed by sizeof. */
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
#undef SIZEOF_SHORT
/* The size of size_t */
/* The size of size_t */
...
@@ -659,7 +659,7 @@
...
@@ -659,7 +659,7 @@
/* The size of ssize_t */
/* The size of ssize_t */
#undef SIZEOF_SSIZE_T
#undef SIZEOF_SSIZE_T
/* The size of
a
`void*', as computed by sizeof. */
/* The size of `void*', as computed by sizeof. */
#undef SIZEOF_VOIDP
#undef SIZEOF_VOIDP
/* Define to 1 if you have the ANSI C header files. */
/* Define to 1 if you have the ANSI C header files. */
...
@@ -752,13 +752,13 @@
...
@@ -752,13 +752,13 @@
#undef inline
#undef inline
#endif
#endif
/* Define to `long' if <sys/types.h> does not define. */
/* Define to `long
int
' if <sys/types.h> does not define. */
#undef off_t
#undef off_t
/* Define to `int' if <sys/types.h> does not define. */
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
#undef pid_t
/* Define to `unsigned' if <sys/types.h> does not define. */
/* Define to `unsigned
int
' if <sys/types.h> does not define. */
#undef size_t
#undef size_t
/* Define to `int' if <sys/types.h> does not define. */
/* Define to `int' if <sys/types.h> does not define. */
...
...
libs/libdingaling/src/libdingaling.c
浏览文件 @
b378d355
...
@@ -640,7 +640,7 @@ static int on_disco_default(void *user_data, ikspak *pak)
...
@@ -640,7 +640,7 @@ static int on_disco_default(void *user_data, ikspak *pak)
iks
*
iq
,
*
query
,
*
tag
;
iks
*
iq
,
*
query
,
*
tag
;
uint8_t
send
=
0
;
uint8_t
send
=
0
;
int
x
;
int
x
;
printf
(
"WTF ?????
\n
"
);
if
(
pak
&&
pak
->
query
)
{
if
(
pak
&&
pak
->
query
)
{
ns
=
iks_find_attrib
(
pak
->
query
,
"xmlns"
);
ns
=
iks_find_attrib
(
pak
->
query
,
"xmlns"
);
node
=
iks_find_attrib
(
pak
->
query
,
"node"
);
node
=
iks_find_attrib
(
pak
->
query
,
"node"
);
...
@@ -766,6 +766,7 @@ static int on_presence(void *user_data, ikspak *pak)
...
@@ -766,6 +766,7 @@ static int on_presence(void *user_data, ikspak *pak)
if
(
resource
&&
strstr
(
resource
,
"talk"
)
&&
(
buffer
=
apr_hash_get
(
handle
->
probe_hash
,
id
,
APR_HASH_KEY_STRING
)))
{
if
(
resource
&&
strstr
(
resource
,
"talk"
)
&&
(
buffer
=
apr_hash_get
(
handle
->
probe_hash
,
id
,
APR_HASH_KEY_STRING
)))
{
printf
(
"WTF Lookup %s
\n
"
,
from
);
apr_cpystrn
(
buffer
->
buf
,
from
,
buffer
->
len
);
apr_cpystrn
(
buffer
->
buf
,
from
,
buffer
->
len
);
fflush
(
stderr
);
fflush
(
stderr
);
buffer
->
hit
=
1
;
buffer
->
hit
=
1
;
...
...
src/mod/endpoints/mod_dingaling/mod_dingaling.c
浏览文件 @
b378d355
...
@@ -2543,7 +2543,7 @@ static ldl_status handle_signalling(ldl_handle_t * handle, ldl_session_t * dlses
...
@@ -2543,7 +2543,7 @@ static ldl_status handle_signalling(ldl_handle_t * handle, ldl_session_t * dlses
}
}
}
else
{
}
else
{
if
(
dl_signal
!=
LDL_SIGNAL_INITIATE
)
{
if
(
dl_signal
!=
LDL_SIGNAL_INITIATE
&&
!
msg
)
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_DEBUG
,
"Session is already dead
\n
"
);
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_DEBUG
,
"Session is already dead
\n
"
);
status
=
LDL_STATUS_FALSE
;
status
=
LDL_STATUS_FALSE
;
goto
done
;
goto
done
;
...
@@ -2551,6 +2551,7 @@ static ldl_status handle_signalling(ldl_handle_t * handle, ldl_session_t * dlses
...
@@ -2551,6 +2551,7 @@ static ldl_status handle_signalling(ldl_handle_t * handle, ldl_session_t * dlses
if
((
session
=
switch_core_session_request
(
&
channel_endpoint_interface
,
NULL
))
!=
0
)
{
if
((
session
=
switch_core_session_request
(
&
channel_endpoint_interface
,
NULL
))
!=
0
)
{
switch_core_session_add_stream
(
session
,
NULL
);
switch_core_session_add_stream
(
session
,
NULL
);
if
((
tech_pvt
=
(
struct
private_object
*
)
switch_core_session_alloc
(
session
,
sizeof
(
struct
private_object
)))
!=
0
)
{
if
((
tech_pvt
=
(
struct
private_object
*
)
switch_core_session_alloc
(
session
,
sizeof
(
struct
private_object
)))
!=
0
)
{
memset
(
tech_pvt
,
0
,
sizeof
(
*
tech_pvt
));
memset
(
tech_pvt
,
0
,
sizeof
(
*
tech_pvt
));
switch_mutex_init
(
&
tech_pvt
->
flag_mutex
,
SWITCH_MUTEX_NESTED
,
switch_core_session_get_pool
(
session
));
switch_mutex_init
(
&
tech_pvt
->
flag_mutex
,
SWITCH_MUTEX_NESTED
,
switch_core_session_get_pool
(
session
));
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论