--- ../../spamdyke-3.1.2_orig/spamdyke/spamdyke.h	2007-11-21 18:28:07.000000000 -0600
+++ spamdyke.h	2008-01-02 09:07:27.000000000 -0600
@@ -411,11 +411,11 @@
 #define LOG_LEVEL_DEBUG                 3
 #define LOG_LEVEL_EXCESSIVE             4
 
-#define SPAMDYKE_LOG_NONE(CURRENT_SETTINGS,...)         ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_NONE)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_NONE,__VA_ARGS__); })
-#define SPAMDYKE_LOG_ERROR(CURRENT_SETTINGS,...)        ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_ERROR)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_ERROR,__VA_ARGS__); })
-#define SPAMDYKE_LOG_INFO(CURRENT_SETTINGS,...)         ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_INFO)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_INFO,__VA_ARGS__); })
-#define SPAMDYKE_LOG_DEBUG(CURRENT_SETTINGS,...)        ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_DEBUG)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_DEBUG,__VA_ARGS__); })
-#define SPAMDYKE_LOG_EXCESSIVE(CURRENT_SETTINGS,...)    ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_EXCESSIVE)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_EXCESSIVE,__VA_ARGS__); })
+#define SPAMDYKE_LOG_NONE(CURRENT_SETTINGS, FORMAT...)          ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_NONE)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_NONE,FORMAT); })
+#define SPAMDYKE_LOG_ERROR(CURRENT_SETTINGS, FORMAT...)         ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_ERROR)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_ERROR,FORMAT); })
+#define SPAMDYKE_LOG_INFO(CURRENT_SETTINGS, FORMAT...)          ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_INFO)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_INFO,FORMAT); })
+#define SPAMDYKE_LOG_DEBUG(CURRENT_SETTINGS, FORMAT...)         ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_DEBUG)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_DEBUG,FORMAT); })
+#define SPAMDYKE_LOG_EXCESSIVE(CURRENT_SETTINGS, FORMAT...)     ({ if (((CURRENT_SETTINGS) == NULL) || ((CURRENT_SETTINGS)->log_level >= LOG_LEVEL_EXCESSIVE)) spamdyke_log(CURRENT_SETTINGS,LOG_LEVEL_EXCESSIVE,FORMAT); })
 
 #define SYSLOG_IDENTIFIER               "spamdyke"
 #define LOG_MISSING_DATA                "(unknown)"
