diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_http.c | 24 | ||||
| -rw-r--r-- | plugins/check_procs.c | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index c44bb3ac..ecd832f8 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
| @@ -855,18 +855,18 @@ check_http (void) | |||
| 855 | char *full_page_new; | 855 | char *full_page_new; |
| 856 | char *buf; | 856 | char *buf; |
| 857 | char *pos; | 857 | char *pos; |
| 858 | long microsec; | 858 | long microsec = 0L; |
| 859 | double elapsed_time; | 859 | double elapsed_time = 0.0; |
| 860 | long microsec_connect; | 860 | long microsec_connect = 0L; |
| 861 | double elapsed_time_connect; | 861 | double elapsed_time_connect = 0.0; |
| 862 | long microsec_ssl; | 862 | long microsec_ssl = 0L; |
| 863 | double elapsed_time_ssl; | 863 | double elapsed_time_ssl = 0.0; |
| 864 | long microsec_firstbyte; | 864 | long microsec_firstbyte = 0L; |
| 865 | double elapsed_time_firstbyte; | 865 | double elapsed_time_firstbyte = 0.0; |
| 866 | long microsec_headers; | 866 | long microsec_headers = 0L; |
| 867 | double elapsed_time_headers; | 867 | double elapsed_time_headers = 0.0; |
| 868 | long microsec_transfer; | 868 | long microsec_transfer = 0L; |
| 869 | double elapsed_time_transfer; | 869 | double elapsed_time_transfer = 0.0; |
| 870 | int page_len = 0; | 870 | int page_len = 0; |
| 871 | int result = STATE_OK; | 871 | int result = STATE_OK; |
| 872 | 872 | ||
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index d09bd8b6..d20b027f 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
| @@ -150,7 +150,7 @@ main (int argc, char **argv) | |||
| 150 | int crit = 0; /* number of processes in crit state */ | 150 | int crit = 0; /* number of processes in crit state */ |
| 151 | int i = 0, j = 0; | 151 | int i = 0, j = 0; |
| 152 | int result = STATE_UNKNOWN; | 152 | int result = STATE_UNKNOWN; |
| 153 | int ret; | 153 | int ret = 0; |
| 154 | output chld_out, chld_err; | 154 | output chld_out, chld_err; |
| 155 | 155 | ||
| 156 | setlocale (LC_ALL, ""); | 156 | setlocale (LC_ALL, ""); |
