Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
253e0d27
Unverified
Commit
253e0d27
authored
Feb 17, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commands: move declaration into tighter scope
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
e0cb8f4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
commands.c
src/lxc/commands.c
+2
-2
No files found.
src/lxc/commands.c
View file @
253e0d27
...
@@ -1074,7 +1074,6 @@ static void lxc_cmd_fd_cleanup(int fd, struct lxc_handler *handler,
...
@@ -1074,7 +1074,6 @@ static void lxc_cmd_fd_cleanup(int fd, struct lxc_handler *handler,
struct
lxc_epoll_descr
*
descr
,
struct
lxc_epoll_descr
*
descr
,
const
lxc_cmd_t
cmd
)
const
lxc_cmd_t
cmd
)
{
{
struct
lxc_state_client
*
client
;
struct
lxc_list
*
cur
,
*
next
;
struct
lxc_list
*
cur
,
*
next
;
lxc_terminal_free
(
handler
->
conf
,
fd
);
lxc_terminal_free
(
handler
->
conf
,
fd
);
...
@@ -1085,7 +1084,8 @@ static void lxc_cmd_fd_cleanup(int fd, struct lxc_handler *handler,
...
@@ -1085,7 +1084,8 @@ static void lxc_cmd_fd_cleanup(int fd, struct lxc_handler *handler,
}
}
lxc_list_for_each_safe
(
cur
,
&
handler
->
conf
->
state_clients
,
next
)
{
lxc_list_for_each_safe
(
cur
,
&
handler
->
conf
->
state_clients
,
next
)
{
client
=
cur
->
elem
;
struct
lxc_state_client
*
client
=
cur
->
elem
;
if
(
client
->
clientfd
!=
fd
)
if
(
client
->
clientfd
!=
fd
)
continue
;
continue
;
...
...
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