Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bytevia
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Pastushkov
bytevia
Commits
97e431d6
Commit
97e431d6
authored
Sep 17, 2024
by
Michael Pastushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d30d6aa5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/bytevia.c
+2
-2
No files found.
src/bytevia.c
View file @
97e431d6
...
@@ -349,8 +349,8 @@ int udp_fork(struct sockaddr_in client_addr) {
...
@@ -349,8 +349,8 @@ int udp_fork(struct sockaddr_in client_addr) {
}
}
add_udp_client
(
client_addr
,
child_pid
);
add_udp_client
(
client_addr
,
child_pid
);
while
(
waitpid
(
-
1
,
NULL
,
WNOHANG
)
>
0
)
//
while (waitpid(-1, NULL, WNOHANG) > 0)
;
/* Reap any zombie processes (clients that exited) */
//
; /* Reap any zombie processes (clients that exited) */
}
else
{
}
else
{
printf
(
"existing udp client %s, hanled by %d ...
\n
"
,
inet_ntoa
(
client_addr
.
sin_addr
),
clients
[
client_index
].
pid
);
printf
(
"existing udp client %s, hanled by %d ...
\n
"
,
inet_ntoa
(
client_addr
.
sin_addr
),
clients
[
client_index
].
pid
);
...
...
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