From dc6233a6742374b1f1e9f794a549ac7f8e329c4f Mon Sep 17 00:00:00 2001 From: marcbou Date: Thu, 19 Jun 2003 14:48:49 +0000 Subject: [PATCH] Use TCP_TMR_INTERVAL instead of hardcoded 100 as time value for mintapif_wait() --- ports/unix/proj/minimal/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/unix/proj/minimal/main.c b/ports/unix/proj/minimal/main.c index 3e9c9ca..970e558 100644 --- a/ports/unix/proj/minimal/main.c +++ b/ports/unix/proj/minimal/main.c @@ -82,7 +82,7 @@ main(int argc, char **argv) while (1) { - if (mintapif_wait(netif, 100) == MINTAPIF_TIMEOUT) { + if (mintapif_wait(netif, TCP_TMR_INTERVAL) == MINTAPIF_TIMEOUT) { tcp_tmr(); }