mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
check_ssh: Always initialize elapsed_time
This commit is contained in:
parent
2b8b66d41e
commit
04115904ad
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ ssh_connect (char *haddr, int hport, char *remote_version, char *remote_protocol
|
|||
char *ssh_server = NULL;
|
||||
static char *rev_no = VERSION;
|
||||
struct timeval tv;
|
||||
double elapsed_time;
|
||||
double elapsed_time = 0;
|
||||
|
||||
gettimeofday(&tv, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue