Update mud

This commit is contained in:
angt
2016-04-14 20:12:45 +00:00
parent efd5e0bb36
commit b0f60caab2
2 changed files with 5 additions and 2 deletions

2
mud

Submodule mud updated: cd9fb7ce34...60fed031a8

View File

@@ -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;