summaryrefslogtreecommitdiff
path: root/vchat-client.c
diff options
context:
space:
mode:
authorerdgeist <>2013-07-15 19:06:35 +0000
committererdgeist <>2013-07-15 19:06:35 +0000
commitf409a5e841d91237fe4034818955dd88167a679b (patch)
treebebaf6f812c1278357294f80b46bba8ff0883134 /vchat-client.c
parent959d7d76aec53f03463223ee64afb805e1865464 (diff)
add a global tcp-keepalive-option. thanks to Fefe
Diffstat (limited to 'vchat-client.c')
-rwxr-xr-xvchat-client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vchat-client.c b/vchat-client.c
index 71a596c..f5cd516 100755
--- a/vchat-client.c
+++ b/vchat-client.c
@@ -43,6 +43,8 @@ int status = 1;
43int ownquit = 0; 43int ownquit = 0;
44/* we set this, we DONT want to quit */ 44/* we set this, we DONT want to quit */
45int wantreconnect = 0; 45int wantreconnect = 0;
46unsigned int want_tcp_keepalive = 0;
47
46static int reconnect_delay = 6; 48static int reconnect_delay = 6;
47static time_t reconnect_time = 0; 49static time_t reconnect_time = 0;
48 50