Lines 8-13
Link Here
|
8 |
#include <sys/types.h> |
8 |
#include <sys/types.h> |
9 |
#include <sys/socket.h> |
9 |
#include <sys/socket.h> |
10 |
#include <sys/stat.h> |
10 |
#include <sys/stat.h> |
|
|
11 |
@@ -839,7 +838,7 @@ shutdown: |
12 |
do_shutdown(ctx, nsockets, pollfds); |
13 |
return 0; |
14 |
} |
15 |
- rc = ppoll(pollfds, nsockets, NULL, NULL); |
16 |
+ rc = poll(pollfds, nsockets, INFTIM); |
17 |
if (should_exit != 0) |
18 |
goto shutdown; |
19 |
if (rc < 0) { |
11 |
@@ -864,8 +863,8 @@ shutdown: |
20 |
@@ -864,8 +863,8 @@ shutdown: |
12 |
|
21 |
|
13 |
struct sockaddr_un remote; |
22 |
struct sockaddr_un remote; |