removed semi-colon at the end of a macro

This commit is contained in:
Fufu Fang 2024-05-05 00:32:00 +01:00
parent 1fa3830dec
commit be666d72e9
No known key found for this signature in database
GPG Key ID: 8A4CB08B0A7E27CE
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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);

View File

@ -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