# HG changeset patch # User Ethan Blanton # Date 1145829914 0 # Node ID 59a86d70825bbcffc397c051a89feb2a904037a0 # Parent 48c261f76657b79d1ee9e3849aeb01d436d78651 [gaim-migrate @ 16086] If we're going to support crappy stalker-enablement plugins, we should at least make an effort to ensure that they don't require C99. This removes a variadic macro (DEBUG_INFO) from psychic.c by: %s/DEBUG_INFO(/gaim_debug_info("psychic", / There were only three occurrences of the DEBUG_INFO macro, so this isn't a big deal. committer: Tailor Script diff -r 48c261f76657 -r 59a86d70825b plugins/psychic.c --- a/plugins/psychic.c Sun Apr 23 03:44:58 2006 +0000 +++ b/plugins/psychic.c Sun Apr 23 22:05:14 2006 +0000 @@ -15,9 +15,6 @@ #include "prefs.h" -#define DEBUG_INFO(a...) gaim_debug_info("psychic", a) - - #define PLUGIN_ID "core-psychic" #define PLUGIN_NAME N_("Psychic Mode") #define PLUGIN_SUMMARY N_("Psychic mode for incoming conversation") @@ -39,19 +36,19 @@ if(gaim_prefs_get_bool(PREF_STATUS) && ! gaim_status_is_available(gaim_account_get_active_status(acct))) { - DEBUG_INFO("not available, doing nothing\n"); + gaim_debug_info("psychic", "not available, doing nothing\n"); return; } if(gaim_prefs_get_bool(PREF_BUDDIES) && ! gaim_find_buddy(acct, name)) { - DEBUG_INFO("not in blist, doing nothing\n"); + gaim_debug_info("psychic", "not in blist, doing nothing\n"); return; } gconv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, name, acct); if(! gconv) { - DEBUG_INFO("no previous conversation exists\n"); + gaim_debug_info("psychic", "no previous conversation exists\n"); gconv = gaim_conversation_new(GAIM_CONV_TYPE_IM, acct, name); gaim_conversation_present(gconv);