diff options
Diffstat (limited to 'src/include/util/media-thumb-debug.h')
-rwxr-xr-x | src/include/util/media-thumb-debug.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/util/media-thumb-debug.h b/src/include/util/media-thumb-debug.h index 66ae59e..47b519e 100755 --- a/src/include/util/media-thumb-debug.h +++ b/src/include/util/media-thumb-debug.h @@ -45,23 +45,23 @@ #define FONT_COLOR_CYAN "\033[36m" #define FONT_COLOR_GRAY "\033[37m" -#define thumb_dbg(fmt, arg...) do{ \ +#define thumb_dbg(fmt, arg...) do { \ LOGD(FONT_COLOR_RESET fmt "\n", ##arg); \ } while (0) -#define thumb_warn(fmt, arg...) do{ \ +#define thumb_warn(fmt, arg...) do { \ LOGW(FONT_COLOR_GREEN fmt "\n", ##arg); \ } while (0) -#define thumb_err(fmt, arg...) do{ \ +#define thumb_err(fmt, arg...) do { \ LOGE(FONT_COLOR_RED fmt "\n", ##arg); \ } while (0) -#define thumb_dbg_slog(fmt, arg...) do{ \ +#define thumb_dbg_slog(fmt, arg...) do { \ SECURE_LOGD(FONT_COLOR_RESET fmt "\n", ##arg); \ } while (0) -#define thumb_warn_slog(fmt, arg...) do{ \ +#define thumb_warn_slog(fmt, arg...) do { \ SECURE_LOGW(FONT_COLOR_GREEN fmt "\n", ##arg); \ } while (0) @@ -76,7 +76,7 @@ void thumb_init_file_debug(); void thumb_close_file_debug(); FILE* get_fp(); -#define thumb_file_dbg(fmt,arg...) fprintf( get_fp(), "[%s: %d] " fmt "\n", __FUNCTION__, __LINE__, ##arg) +#define thumb_file_dbg(fmt, arg...) fprintf(get_fp(), "[%s: %d] " fmt "\n", __FUNCTION__, __LINE__, ##arg) #endif |