projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c028a4
)
apache plugin: Remove unused variables.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 15 Apr 2009 08:58:37 +0000
(10:58 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 15 Apr 2009 08:58:37 +0000
(10:58 +0200)
src/apache.c
patch
|
blob
|
history
diff --git
a/src/apache.c
b/src/apache.c
index
b808a9e
..
4ac56b1
100644
(file)
--- a/
src/apache.c
+++ b/
src/apache.c
@@
-31,15
+31,6
@@
#include <curl/curl.h>
-static char *url = NULL;
-static char *user = NULL;
-static char *pass = NULL;
-static char *verify_peer = NULL;
-static char *verify_host = NULL;
-static char *cacert = NULL;
-
-static CURL *curl = NULL;
-
static char *apache_buffer = NULL;
static size_t apache_buffer_size = 0;
static size_t apache_buffer_fill = 0;
@@
-512,7
+503,6
@@
static int apache_read_host (apache_t *st)
int lines_num = 0;
char *fields[4];
- char *host;
int fields_num;
if (st->curl == NULL)