Author: tjansen Date: Tue Nov 3 15:11:34 2009 New Revision: 1504 Log: Removed obsoleted variable timeout_heartbeat. Modified: trunk/libpisa/conmgr.c trunk/libpisa/conmgr.h Modified: trunk/libpisa/conmgr.c ============================================================================== --- trunk/libpisa/conmgr.c Tue Nov 3 15:11:00 2009 (r1503) +++ trunk/libpisa/conmgr.c Tue Nov 3 15:11:34 2009 (r1504) @@ -107,7 +107,6 @@ entry->control_port = ctrl_port; pisa_ipv6_copy(&entry->hit, hit); - time(&entry->timeout_heartbeat); entry->timeout_flag = 0; entry->timeout_task = NULL; entry->heartbeat_flag = 0; Modified: trunk/libpisa/conmgr.h ============================================================================== --- trunk/libpisa/conmgr.h Tue Nov 3 15:11:00 2009 (r1503) +++ trunk/libpisa/conmgr.h Tue Nov 3 15:11:34 2009 (r1504) @@ -55,14 +55,6 @@ struct sockaddr_in6 saddr_data; /** - * Last time we sent data or a heartbeat. The server will throw the - * connection away if we stay idle for too long. If in danger of - * reaching a timeout, send a heartbeat packet to the server to keep - * the connection alive. - */ - time_t timeout_heartbeat; - - /** * 0 if no data was received since last check, 1 otherwise. */ int heartbeat_flag;