diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index fd082e11..2c76fa84 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
| @@ -255,7 +255,7 @@ int ssh_connect(mp_check *overall, char *haddr, int hport, char *desired_remote_ | |||
| 255 | byte_offset = 0; | 255 | byte_offset = 0; |
| 256 | 256 | ||
| 257 | char *index = NULL; | 257 | char *index = NULL; |
| 258 | unsigned long len = 0; | 258 | size_t len = 0; |
| 259 | while ((index = strchr(output + byte_offset, '\n')) != NULL) { | 259 | while ((index = strchr(output + byte_offset, '\n')) != NULL) { |
| 260 | /*Partition the buffer so that this line is a separate string, | 260 | /*Partition the buffer so that this line is a separate string, |
| 261 | * by replacing the newline with NUL*/ | 261 | * by replacing the newline with NUL*/ |
