Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
7208d07e
Commit
7208d07e
authored
Jan 22, 2020
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove exit() which is comentouted
parent
3267aece
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
nfapi/open-nFAPI/vnf/src/vnf_interface.c
nfapi/open-nFAPI/vnf/src/vnf_interface.c
+4
-8
No files found.
nfapi/open-nFAPI/vnf/src/vnf_interface.c
View file @
7208d07e
...
...
@@ -215,8 +215,7 @@ void init_server_eventfd(int *watch_fd_list, int client_num, char *path)
if
((
conn_socket
=
socket
(
AF_UNIX
,
SOCK_STREAM
,
0
))
<
0
)
{
perror
(
"socket (init_server_eventfd)
\n
"
);
//exit(1);
exit_fun
(
"init_server_eventfd fatal: socket err"
);
exit_fun
(
"init_server_eventfd fatal: socket err"
);
}
addr
.
sun_family
=
AF_UNIX
;
...
...
@@ -227,8 +226,7 @@ void init_server_eventfd(int *watch_fd_list, int client_num, char *path)
if
(
bind
(
conn_socket
,
(
const
struct
sockaddr
*
)
&
addr
,
sizeof
(
struct
sockaddr_un
))
==
-
1
)
{
perror
(
"bind (init_server_eventfd)
\n
"
);
//exit(1);
exit_fun
(
"init_server_eventfd fatal: bind err"
);
exit_fun
(
"init_server_eventfd fatal: bind err"
);
}
printf
(
"bind completed (init_server_eventfd)
\n
"
);
...
...
@@ -237,8 +235,7 @@ void init_server_eventfd(int *watch_fd_list, int client_num, char *path)
if
(
listen
(
conn_socket
,
16
)
==
-
1
)
{
perror
(
"listen (init_server_eventfd)"
);
//exit(1);
exit_fun
(
"init_server_eventfd fatal: listen err"
);
exit_fun
(
"init_server_eventfd fatal: listen err"
);
}
printf
(
"init_server_eventfd : now listening
\n
"
);
...
...
@@ -248,8 +245,7 @@ void init_server_eventfd(int *watch_fd_list, int client_num, char *path)
if
((
fd
=
accept
(
conn_socket
,
NULL
,
NULL
))
==
-
1
)
{
perror
(
"accept (init_server_eventfd)
\n
"
);
exit
(
1
);
exit_fun
(
"init_server_eventfd fatal: accept err"
);
exit_fun
(
"init_server_eventfd fatal: accept err"
);
}
printf
(
"accept completed (init_server_eventfd)
\n
"
);
...
...
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