about summary refs log tree commit diff
path: root/btpd/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'btpd/http.c')
-rw-r--r--btpd/http.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/btpd/http.c b/btpd/http.c
index e75261a..cd42cfb 100644
--- a/btpd/http.c
+++ b/btpd/http.c
@@ -88,17 +88,6 @@ http_get(struct http **ret,
     return 0;
 }
 
-int
-http_redo(struct http **http)
-{
-    int err;
-    struct http *ret;
-    err = http_get(&ret, (*http)->cb, "%s", (*http)->url);
-    http_cancel(*http);
-    *http = ret;
-    return err;
-}
-
 void
 http_cancel(struct http *http)
 {