diff options
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r-- | plugins/check_ssh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 3c1a594..a3b5358 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -233,7 +233,6 @@ ssh_connect (char *haddr, int hport, char *remote_version, char *remote_protocol | |||
233 | 233 | ||
234 | char *output = (char *) calloc (BUFF_SZ + 1, sizeof(char)); | 234 | char *output = (char *) calloc (BUFF_SZ + 1, sizeof(char)); |
235 | 235 | ||
236 | unsigned int iteration = 0; | ||
237 | ssize_t byte_offset = 0; | 236 | ssize_t byte_offset = 0; |
238 | 237 | ||
239 | while ((version_control_string == NULL) && (recv_ret = recv(sd, output+byte_offset, BUFF_SZ - byte_offset, 0) > 0)) { | 238 | while ((version_control_string == NULL) && (recv_ret = recv(sd, output+byte_offset, BUFF_SZ - byte_offset, 0) > 0)) { |