Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Achou.Wang
accel-ppp
提交
73b6989b
A
accel-ppp
项目概览
Achou.Wang
/
accel-ppp
通知
6
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
accel-ppp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
73b6989b
编写于
12月 27, 2010
作者:
K
Kozlov Dmitry
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix compilation warnings
上级
330c5a3c
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
4 deletion
+6
-4
accel-pptpd/CMakeLists.txt
accel-pptpd/CMakeLists.txt
+1
-1
accel-pptpd/cli/std_cmd.c
accel-pptpd/cli/std_cmd.c
+2
-2
accel-pptpd/ctrl/l2tp/dict.c
accel-pptpd/ctrl/l2tp/dict.c
+1
-1
accel-pptpd/logs/log_file.c
accel-pptpd/logs/log_file.c
+2
-0
未找到文件。
accel-pptpd/CMakeLists.txt
浏览文件 @
73b6989b
...
...
@@ -11,7 +11,7 @@ IF (NOT HAVE_SSL)
MESSAGE
(
FATAL_ERROR
"openssl headers not found"
)
ENDIF
(
NOT HAVE_SSL
)
SET
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wall -fvisibility=hidden -D_GNU_SOURCE -DPTHREAD_SPINLOCK -DMEMDEBUG -fPIC"
)
SET
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wall -fvisibility=hidden -
fno-strict-aliasing -
D_GNU_SOURCE -DPTHREAD_SPINLOCK -DMEMDEBUG -fPIC"
)
IF
(
EXISTS
${
CMAKE_HOME_DIRECTORY
}
/.git
)
EXECUTE_PROCESS
(
...
...
accel-pptpd/cli/std_cmd.c
浏览文件 @
73b6989b
...
...
@@ -100,7 +100,7 @@ static int show_ses_exec(const char *cmd, char * const *fields, int fields_cnt,
int
order
=
ORDER_NONE
;
int
match
=
MATCH_NONE
;
struct
row_t
*
row
,
*
row2
,
*
row3
;
pcre
*
re
;
pcre
*
re
=
NULL
;
const
char
*
pcre_err
;
int
pcre_offset
;
LIST_HEAD
(
rows
);
...
...
@@ -302,7 +302,7 @@ static int terminate_exec2(int key, char * const *f, int f_cnt, void *cli)
{
struct
ppp_t
*
ppp
;
int
hard
=
0
;
in_addr_t
ipaddr
;
in_addr_t
ipaddr
=
0
;
if
(
f_cnt
==
4
)
{
if
(
!
strcmp
(
f
[
3
],
"hard"
))
...
...
accel-pptpd/ctrl/l2tp/dict.c
浏览文件 @
73b6989b
...
...
@@ -117,7 +117,7 @@ static int dict_load(const char *fname)
struct
l2tp_dict_attr_t
*
attr
;
struct
l2tp_dict_value_t
*
value
;
struct
list_head
*
items
;
int
r
,
n
,
i
;
int
i
,
r
,
n
=
0
;
f
=
fopen
(
fname
,
"r"
);
if
(
!
f
)
{
...
...
accel-pptpd/logs/log_file.c
浏览文件 @
73b6989b
...
...
@@ -6,6 +6,8 @@
#include <unistd.h>
#include <limits.h>
#include <aio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "log.h"
#include "events.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录