summaryrefslogtreecommitdiffstats
path: root/plugins/check_ssh.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-08-28 21:40:22 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-08-28 21:40:22 (GMT)
commit829ec76f00f33f7015936dcccca60661ca459252 (patch)
tree754eb82c0709ad6f5e568efb5d8b3076a6e39150 /plugins/check_ssh.c
parent04115904adc237dbb2a4224728b0f5a49d617703 (diff)
downloadmonitoring-plugins-829ec76f00f33f7015936dcccca60661ca459252.tar.gz
check_ssh: Remove unused variable iteration
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r--plugins/check_ssh.c1
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)) {