diff options
Diffstat (limited to 'src/eclat.c')
-rw-r--r-- | src/eclat.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/eclat.c b/src/eclat.c index 7dd32e4..181391e 100644 --- a/src/eclat.c +++ b/src/eclat.c @@ -108,7 +108,7 @@ eclat_trace_fun(CURL *handle, curl_infotype type, char *data, size_t size, void *userp) { - struct data *config = (struct data *)userp; +/* struct data *config = (struct data *)userp;*/ const char *text; switch (type) { @@ -142,25 +142,6 @@ eclat_trace_fun(CURL *handle, curl_infotype type, } static void -dump_text(FILE *stream, int line, int column, const char *text, size_t len) -{ - fprintf(stream, "%02d:%02d: ", line, column); - while (len--) { - char c = *text++; - if (c == '\r') - continue; - fputc(c, stream); - ++column; - if (c == '\n') { - ++line; - column = 0; - fprintf(stream, "%02d:%02d: ", line, column); - } - } - fputc('\n', stream); -} - -static void dumpxml(void *ptr, size_t realsize) { static int open_failed = 0; @@ -251,13 +232,6 @@ struct command cmdtab[] = { }; size_t cmdcnt = sizeof(cmdtab) / sizeof(cmdtab[0]); -static int -cmdcmp(const void *a, const void *b) -{ - struct command const *cmda = a, *cmdb = b; - return strcmp(cmda->ident, cmdb->ident); -} - void listcmd() { |