diff options
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r-- | src/input/input_http.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c index 0d4e5e696..c5fdb1aa4 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -238,7 +238,7 @@ static int http_plugin_parse_url (char *urlbuf, char **user, char **password, } static int http_plugin_basicauth (const char *user, const char *password, - char* dest, int len) { + char* dest, int len) { static char *enctable="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; char *tmp; char *sptr; @@ -296,9 +296,6 @@ static int http_plugin_basicauth (const char *user, const char *password, } static off_t http_plugin_read (input_plugin_t *this_gen, - char *buf, off_t nlen) ; - -static off_t http_plugin_read (input_plugin_t *this_gen, char *buf, off_t nlen) { http_input_plugin_t *this = (http_input_plugin_t *) this_gen; off_t n, num_bytes; |