about summary refs log tree commit homepage
path: root/http_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'http_get.c')
-rw-r--r--http_get.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/http_get.c b/http_get.c
index cb3a6eb..e8f8f4a 100644
--- a/http_get.c
+++ b/http_get.c
@@ -180,8 +180,9 @@ bad_range:
         return (off_t)count;
 }
 
-void mog_http_get_open(struct mog_http *http, char *buf)
+void mog_http_get_open(struct mog_fd *mfd, char *buf)
 {
+        struct mog_http *http = &mfd->as.http;
         struct stat sb;
         struct mog_file *file = NULL;
         char *path = mog_http_path(http, buf);