summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-02-11 17:39:24 (GMT)
committerAndreas Baumann <mail@andreasbaumann.cc>2023-02-11 17:39:24 (GMT)
commit27b0c6964559ba60ff6c7a626d51e62e5256ed62 (patch)
treeeb709664a51b14efb186d9ebec2877cfd36296f8 /plugins/check_curl.c
parentf867d7b44080fa9716deeff4476275f9a489879f (diff)
downloadmonitoring-plugins-27b0c6964559ba60ff6c7a626d51e62e5256ed62.tar.gz
fixed regerror is MAX_INPUT_BUFFER writting into too small errbuf
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r--plugins/check_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 7916eb5..406f6f8 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -173,7 +173,7 @@ double time_connect;
173double time_appconnect; 173double time_appconnect;
174double time_headers; 174double time_headers;
175double time_firstbyte; 175double time_firstbyte;
176char errbuf[CURL_ERROR_SIZE+1]; 176char errbuf[MAX_INPUT_BUFFER];
177CURLcode res; 177CURLcode res;
178char url[DEFAULT_BUFFER_SIZE]; 178char url[DEFAULT_BUFFER_SIZE];
179char msg[DEFAULT_BUFFER_SIZE]; 179char msg[DEFAULT_BUFFER_SIZE];