diff --git a/src/fuse_local.c b/src/fuse_local.c index 58c83fd..3a5fa0a 100644 --- a/src/fuse_local.c +++ b/src/fuse_local.c @@ -145,7 +145,7 @@ fs_readdir(const char *path, void *buf, fuse_fill_dir_t dir_add, #ifdef DEBUG static int j = 0; - lprintf(debug, "\n!!!!Calling fs_readdir for the %d time!!!!\n", j) + lprintf(debug, "\n!!!!Calling fs_readdir for the %d time!!!!\n", j); j++; #endif diff --git a/src/link.c b/src/link.c index a3fb310..3ffba89 100644 --- a/src/link.c +++ b/src/link.c @@ -646,7 +646,7 @@ LinkTable *LinkTable_new(const char *url) #ifdef DEBUG static int i = 0; - lprintf(debug, "\n!!!!Calling LinkTable_new for the %d time!!!!\n", i) + lprintf(debug, "\n!!!!Calling LinkTable_new for the %d time!!!!\n", i); i++; #endif @@ -806,7 +806,7 @@ LinkTable *path_to_Link_LinkTable_new(const char *path) * TODO: Save the updated LinkTable */ lprintf(info, "time_now: %d, index_time: %d\n", time_now, - next_table->index_time) + next_table->index_time); lprintf(info, "diff: %d, limit: %d\n", time_now - next_table->index_time, CONFIG.refresh_timeout); lprintf(info, "Refreshing LinkTable for %s\n", path); diff --git a/src/log.h b/src/log.h index ef06e99..bcac877 100644 --- a/src/log.h +++ b/src/log.h @@ -40,7 +40,7 @@ void log_printf(LogType type, const char *file, const char *func, int line, * \details This macro automatically prints out the filename and line number */ #define lprintf(type, ...) \ - log_printf(type, __FILE__, __func__, __LINE__, __VA_ARGS__); + log_printf(type, __FILE__, __func__, __LINE__, __VA_ARGS__) /** * \brief Print the version information for HTTPDirFS