Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
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
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha - Software
Commits
fe79d210
Commit
fe79d210
authored
May 03, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: fix in fdelay_close function
parent
d4fae447
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
fdelay-init.c
lib/fdelay-init.c
+3
-1
No files found.
lib/fdelay-init.c
View file @
fe79d210
...
...
@@ -150,9 +150,11 @@ int fdelay_close(struct fdelay_board *userb)
__define_board
(
b
,
userb
);
int
j
;
for
(
j
=
0
;
j
<
ARRAY_SIZE
(
b
->
fd
);
j
++
)
for
(
j
=
0
;
j
<
ARRAY_SIZE
(
b
->
fd
);
j
++
)
{
if
(
b
->
fd
[
j
]
>=
0
)
close
(
b
->
fd
[
j
]);
b
->
fd
[
j
]
=
-
1
;
}
return
0
;
}
...
...
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