Compare commits
1 Commits
v0.0.35-mu
...
v0.0.36-mu
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0f60caab2 |
2
mud
2
mud
Submodule mud updated: cd9fb7ce34...60fed031a8
@@ -358,9 +358,12 @@ int main (int argc, char **argv)
|
||||
}
|
||||
|
||||
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 (errno==EINTR)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user