Fixed while statement
This commit is contained in:
parent
8167719270
commit
c37cd2c299
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ main(int argc, char *argv[])
|
||||||
int max_fd = g_sock_fd + 1;
|
int max_fd = g_sock_fd + 1;
|
||||||
fd_set file_descriptors;
|
fd_set file_descriptors;
|
||||||
|
|
||||||
while (g_is_about_to_quit) {
|
while (!g_is_about_to_quit) {
|
||||||
FD_ZERO(&file_descriptors);
|
FD_ZERO(&file_descriptors);
|
||||||
FD_SET(g_sock_fd, &file_descriptors);
|
FD_SET(g_sock_fd, &file_descriptors);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue