Compare commits
2 Commits
v0.0.35-mu
...
v0.0.37-mu
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99262777fc | ||
|
|
b0f60caab2 |
2
mud
2
mud
Submodule mud updated: cd9fb7ce34...3b86683636
@@ -358,9 +358,12 @@ int main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct timeval timeout = {
|
struct timeval timeout = {
|
||||||
.tv_usec = 1000,
|
.tv_usec = 100000,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (mud_can_push(mud))
|
||||||
|
timeout.tv_usec = 1000;
|
||||||
|
|
||||||
if _0_(select(mud_fd+1, &rfds, NULL, NULL, &timeout)==-1) {
|
if _0_(select(mud_fd+1, &rfds, NULL, NULL, &timeout)==-1) {
|
||||||
if (errno==EINTR)
|
if (errno==EINTR)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user