diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-08-28 21:40:22 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-08-28 21:40:22 (GMT) |
commit | 829ec76f00f33f7015936dcccca60661ca459252 (patch) | |
tree | 754eb82c0709ad6f5e568efb5d8b3076a6e39150 /plugins/check_ssh.c | |
parent | 04115904adc237dbb2a4224728b0f5a49d617703 (diff) | |
download | monitoring-plugins-829ec76f00f33f7015936dcccca60661ca459252.tar.gz |
check_ssh: Remove unused variable iteration
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)) { |