diff --git a/http-walker.c b/http-walker.c
index 508e35517c55b8b9f894c46a25e831f1ed3652b9..ef99ae647ae02995495c71455eef785bdeca1789 100644 (file)
--- a/http-walker.c
+++ b/http-walker.c
free(data);
walker->data = NULL;
}
-
- http_cleanup();
}
-struct walker *get_http_walker(const char *url, struct remote *remote)
+struct walker *get_http_walker(const char *url)
{
char *s;
struct walker_data *data = xmalloc(sizeof(struct walker_data));
struct walker *walker = xmalloc(sizeof(struct walker));
- http_init(remote);
-
data->alt = xmalloc(sizeof(*data->alt));
data->alt->base = xmalloc(strlen(url) + 1);
strcpy(data->alt->base, url);