summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 34ef37b..3c1a594 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -222,7 +222,7 @@ ssh_connect (char *haddr, int hport, char *remote_version, char *remote_protocol
222 char *ssh_server = NULL; 222 char *ssh_server = NULL;
223 static char *rev_no = VERSION; 223 static char *rev_no = VERSION;
224 struct timeval tv; 224 struct timeval tv;
225 double elapsed_time; 225 double elapsed_time = 0;
226 226
227 gettimeofday(&tv, NULL); 227 gettimeofday(&tv, NULL);
228 228