From: Pekka Riikonen Date: Tue, 29 Jan 2002 21:45:37 +0000 (+0000) Subject: updates. X-Git-Tag: silc.toolkit.0.7.3~11 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=703576a68add1529c8aca48c710feeb4a9d52d5e updates. --- diff --git a/CHANGES b/CHANGES index c6eef9a9..e8da703f 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,11 @@ Tue Jan 29 19:49:31 EET 2002 Pekka Riikonen * Removed TRQ from lib/trq, not needed anymore. + * Do more frequent heartbeats (5 minutes instead of 10 minutes) + with server connections. Later this will be configurable + in config file after new config file is done. Affected file + silcd/server.c. + Tue Jan 29 10:35:03 CET 2002 Pekka Riikonen * Fixed a crash in server related to channel announcements. diff --git a/apps/irssi/src/fe-common/core/completion.c b/apps/irssi/src/fe-common/core/completion.c index 16427610..cd86ab4f 100644 --- a/apps/irssi/src/fe-common/core/completion.c +++ b/apps/irssi/src/fe-common/core/completion.c @@ -535,6 +535,9 @@ static void sig_complete_word(GList **list, WINDOW_REC *window, } /* check only for /command completions from now on */ + if (*linestart == '\0') + return; + cmdchars = strchr(cmdchars, *linestart); if (cmdchars == NULL) return; diff --git a/apps/silcd/server.c b/apps/silcd/server.c index 9df0dd45..409a8afc 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -952,7 +952,7 @@ SILC_TASK_CALLBACK(silc_server_connect_to_router_final) timeout!! */ hb_context = silc_calloc(1, sizeof(*hb_context)); hb_context->server = server; - silc_socket_set_heartbeat(sock, 600, hb_context, + silc_socket_set_heartbeat(sock, 300, hb_context, silc_server_perform_heartbeat, server->schedule); @@ -1462,7 +1462,7 @@ SILC_TASK_CALLBACK(silc_server_accept_new_connection_final) timeout!! */ hb_context = silc_calloc(1, sizeof(*hb_context)); hb_context->server = server; - silc_socket_set_heartbeat(sock, 600, hb_context, + silc_socket_set_heartbeat(sock, 400, hb_context, silc_server_perform_heartbeat, server->schedule);