Author: bdonlan
Date: 2004-12-30 22:18:14 -0500 (Thu, 30 Dec 2004)
New Revision: 487

Modified:
   trunk/
   trunk/clients/havercurs/main.c
Log:
 [EMAIL PROTECTED]:  bdonlan | 2004-12-31T03:17:22.887639Z
 Shorten connect timeout.
 



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:10240
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
   + 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:10241
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238

Modified: trunk/clients/havercurs/main.c
===================================================================
--- trunk/clients/havercurs/main.c      2004-12-31 03:18:02 UTC (rev 486)
+++ trunk/clients/havercurs/main.c      2004-12-31 03:18:14 UTC (rev 487)
@@ -48,7 +48,7 @@
        event_init();
        display_init(LINES - 2);
 
-    heartbeat_start(30);
+    heartbeat_start(5);
 
        refresh();
 
@@ -154,12 +154,5 @@
 void heartbeat(const struct timeval *when, void *baton) {
        const char *message = baton;
        struct timeval next;
-    if (!message) {
-        net_async_connect(connected_cb, NULL, "localhost", 12564);
-        baton = message = "Heartbeat 1";
-    }
-       display_print("%s\n", message);
-       next.tv_sec = 1;
-       next.tv_usec = 0;
-       event_timer_rel(&next, heartbeat, baton);
+    net_async_connect(connected_cb, NULL, "localhost", 12564);
 }


Reply via email to