diff options
Diffstat (limited to 'http_get.c')
-rw-r--r-- | http_get.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |