tidy up some more stuff - changed some of the status messages
This commit is contained in:
parent
1437a3f65c
commit
d35ee04a6d
2
main.c
2
main.c
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue