mirror of
https://github.com/fangfufu/httpdirfs.git
synced 2024-09-28 13:11:47 +02:00
initial commit to the debug branch
This commit is contained in:
parent
d4c7d8c92a
commit
63455c54cc
@ -139,6 +139,9 @@ fs_readdir(const char *path, void *buf, fuse_fill_dir_t dir_add,
|
|||||||
(void) fi;
|
(void) fi;
|
||||||
LinkTable *linktbl;
|
LinkTable *linktbl;
|
||||||
|
|
||||||
|
static int j = 0;
|
||||||
|
lprintf(debug, "\n!!!!Calling fs_readdir for the %d time!!!!\n", j)
|
||||||
|
j++;
|
||||||
linktbl = path_to_Link_LinkTable_new(path);
|
linktbl = path_to_Link_LinkTable_new(path);
|
||||||
if (!linktbl) {
|
if (!linktbl) {
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
|
@ -644,6 +644,9 @@ LinkTable *LinkTable_new(const char *url)
|
|||||||
curl_free(unescaped_path);
|
curl_free(unescaped_path);
|
||||||
curl_easy_cleanup(c);
|
curl_easy_cleanup(c);
|
||||||
|
|
||||||
|
static int i = 0;
|
||||||
|
lprintf(debug, "\n!!!!Calling LinkTable_new for the %d time!!!!\n", i)
|
||||||
|
i++;
|
||||||
LinkTable_print(linktbl);
|
LinkTable_print(linktbl);
|
||||||
|
|
||||||
return linktbl;
|
return linktbl;
|
||||||
|
@ -20,7 +20,7 @@ typedef enum {
|
|||||||
/**
|
/**
|
||||||
* \brief The default log level
|
* \brief The default log level
|
||||||
*/
|
*/
|
||||||
#define DEFAULT_LOG_LEVEL fatal | error | warning | info
|
#define DEFAULT_LOG_LEVEL fatal | error | warning | info | debug
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Get the log level from the environment.
|
* \brief Get the log level from the environment.
|
||||||
|
Loading…
Reference in New Issue
Block a user