diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-03-06 11:48:16 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-03-06 11:48:16 +0100 |
commit | a225233d8cc8f7fa3bde586438f5415d23ae1ce8 (patch) | |
tree | 8c0c8dfdca1637c24a954142b0d717987420de0f /src/core/wee-hook.c | |
parent | a4d1dfa8f436366dbe6544ae7480ba8986f81a05 (diff) | |
download | weechat-a225233d8cc8f7fa3bde586438f5415d23ae1ce8.zip |
core: remove plugin pointer in hooks debug messages
Diffstat (limited to 'src/core/wee-hook.c')
-rw-r--r-- | src/core/wee-hook.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index c7100260e..4e0959b16 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -378,10 +378,11 @@ hook_init_data (struct t_hook *hook, struct t_weechat_plugin *plugin, if (weechat_debug_core >= 2) { gui_chat_printf (NULL, - "debug: adding hook: type=%d (%s), plugin=%lx (%s), " + "debug: adding hook: type=%d (%s), plugin=\"%s\", " "priority=%d", - hook->type, hook_type_string[hook->type], - hook->plugin, plugin_get_name (hook->plugin), + hook->type, + hook_type_string[hook->type], + plugin_get_name (hook->plugin), hook->priority); } } @@ -3538,9 +3539,10 @@ unhook (struct t_hook *hook) if (weechat_debug_core >= 2) { gui_chat_printf (NULL, - "debug: removing hook: type=%d (%s), plugin=%lx (%s)", - hook->type, hook_type_string[hook->type], - hook->plugin, plugin_get_name (hook->plugin)); + "debug: removing hook: type=%d (%s), plugin=\"%s\"", + hook->type, + hook_type_string[hook->type], + plugin_get_name (hook->plugin)); } /* free data */ |