tidy up some more stuff - changed some of the status messages

This commit is contained in:
Fufu Fang 2018-07-24 22:21:06 +01:00
parent 1437a3f65c
commit d35ee04a6d
2 changed files with 2 additions and 4 deletions

2
main.c
View File

@ -20,7 +20,6 @@ static int fs_open(const char *path, struct fuse_file_info *fi);
static int fs_read(const char *path, char *buf, size_t size, off_t offset,
struct fuse_file_info *fi);
static struct fuse_operations fs_oper = {
.getattr = fs_getattr,
.readdir = fs_readdir,
@ -103,7 +102,6 @@ static int fs_readdir(const char *path, void *buf, fuse_fill_dir_t dir_add,
Link *link;
LinkTable *linktbl;
if (!strcmp(path, "/")) {
linktbl = ROOT_LINK_TBL;
} else {

View File

@ -434,8 +434,8 @@ long path_download(const char *path, char *output_buf, size_t size,
buf.memory = NULL;
#ifdef HTTPDIRFS_INFO
fprintf(stderr, "path_download(%s, %p, %s);\n",
path, output_buf, range_str);
fprintf(stderr, "path_download(%s, %s);\n",
path, range_str);
#endif
CURL *curl = Link_to_curl(link);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&buf);