diff --git a/mud b/mud index a05381a..cd9fb7c 160000 --- a/mud +++ b/mud @@ -1 +1 @@ -Subproject commit a05381a329f8bfa117a683edd59163b33e1e4aa4 +Subproject commit cd9fb7ce344e162b73a72e87f7c676a73e3888ad diff --git a/src/main.c b/src/main.c index 133a304..8bc5065 100644 --- a/src/main.c +++ b/src/main.c @@ -242,8 +242,6 @@ int main (int argc, char **argv) gt.timeout = 5000; - long down_timeout = 0; - long send_timeout = 0; long time_tolerance = 0; struct option opts[] = { @@ -256,8 +254,6 @@ int main (int argc, char **argv) { "multiqueue", NULL, option_option }, { "statefile", &statefile, option_str }, { "timeout", >.timeout, option_long }, - { "down-timeout", &down_timeout, option_long }, - { "send-timeout", &send_timeout, option_long }, { "time-tolerance", &time_tolerance, option_long }, { "version", NULL, option_option }, { NULL }, @@ -312,11 +308,7 @@ int main (int argc, char **argv) mud_set_key(mud, gt.key, sizeof(gt.key)); - if (down_timeout > 0) - mud_set_down_timeout_msec(mud, down_timeout); - - if (send_timeout > 0) - mud_set_send_timeout_msec(mud, send_timeout); + mud_set_send_timeout_msec(mud, gt.timeout); if (time_tolerance > 0) mud_set_time_tolerance_sec(mud, time_tolerance);