From 6487590b4fd55dddd59b43f1fcf2ebd8d56f20ac Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 20 Sep 2017 10:51:22 +0200 Subject: Add travis --- src/sp_utils.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/sp_utils.h') diff --git a/src/sp_utils.h b/src/sp_utils.h index 37dd2c0..3b14205 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h @@ -35,14 +35,14 @@ #define HOOK_FUNCTION_BY_REGEXP(regexp, hook_table, new_function, execution) \ hook_regexp(regexp, SNUFFLEUPAGUS_G(hook_table), new_function, execution) -#define LOG_NOTICE "notice" -#define LOG_DROP "drop" -#define LOG_DEBUG "debug" -#define LOG_ERROR "error" +#define SP_LOG_NOTICE "notice" +#define SP_LOG_DROP "drop" +#define SP_LOG_DEBUG "debug" +#define SP_LOG_ERROR "error" -#define sp_log_err(feature, ...) sp_log_msg(feature, LOG_ERROR, __VA_ARGS__) +#define sp_log_err(feature, ...) sp_log_msg(feature, SP_LOG_ERROR, __VA_ARGS__) #ifdef SP_DEBUG - #define sp_log_debug(...) sp_log_msg("DEBUG", LOG_DEBUG, __VA_ARGS__) + #define sp_log_debug(...) sp_log_msg("DEBUG", SP_LOG_DEBUG, __VA_ARGS__) #else #define sp_log_debug(...) #endif -- cgit v1.3