projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
write_sensu plugin: remove unused parameter
[collectd.git]
/
src
/
curl.c
diff --git
a/src/curl.c
b/src/curl.c
index
12bf8cd
..
4bfd1e4
100644
(file)
--- a/
src/curl.c
+++ b/
src/curl.c
@@
-85,8
+85,7
@@
struct web_page_s /* {{{ */
/*
* Global variables;
*/
/*
* Global variables;
*/
-/* static CURLM *curl = NULL; */
-static web_page_t *pages_g = NULL;
+static web_page_t *pages_g;
/*
* Private functions
/*
* Private functions
@@
-418,11
+417,11
@@
static int cc_config_add_page(oconfig_item_t *ci) /* {{{ */
page->url = NULL;
page->user = NULL;
page->pass = NULL;
page->url = NULL;
page->user = NULL;
page->pass = NULL;
- page->digest =
0
;
- page->verify_peer =
1
;
- page->verify_host =
1
;
- page->response_time =
0
;
- page->response_code =
0
;
+ page->digest =
false
;
+ page->verify_peer =
true
;
+ page->verify_host =
true
;
+ page->response_time =
false
;
+ page->response_code =
false
;
page->timeout = -1;
page->stats = NULL;
page->timeout = -1;
page->stats = NULL;