Commit 2b9de626 authored by Heiko Liermann's avatar Heiko Liermann
Browse files

- bugfix 10000

parent 1552e28a
......@@ -65,7 +65,7 @@ int main(int argc, char **argv) {
if (FD_ISSET(client_fds[i], &read_set)) {
// write data into the buffer
do {
len = read(client_fds[i], buf, BUFFER_SIZE, 0);
len = read(client_fds[i], buf, BUFFER_SIZE);
} while (len > 0);
close_wrapper(client_fds[i]);
FD_CLR(client_fds[i], &whole_set);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment