summaryrefslogtreecommitdiff
path: root/wrapper/plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper/plugins.h')
-rw-r--r--wrapper/plugins.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/wrapper/plugins.h b/wrapper/plugins.h
index a643715..f1b01a2 100644
--- a/wrapper/plugins.h
+++ b/wrapper/plugins.h
@@ -52,10 +52,6 @@ struct plugin_command
struct plugin_command *d_next;
};
-#ifdef DEBUG
-#include "plugin-debug.h"
-#endif
-
/* create a blank plugin_command */
struct plugin_command *
plugin_mk_command()
@@ -83,9 +79,7 @@ void
plugin_free_command(struct plugin_command *command)
{
if (command!=NULL) {
- #ifdef DEBUG
- plugin_print_command(command,2);
- #endif
+ printf("%p\n",command->next);
plugin_free_command(command->next);
xfree(command->name);
xfree(command->depends);
@@ -98,9 +92,6 @@ void
plugin_free_plugin(struct plugin *plugin)
{
if (plugin!=NULL) {
- #ifdef DEBUG
- plugin_print_plugin(plugin,1);
- #endif
xfree(plugin->name);
plugin_free_command(plugin->commands);
plugin_free_plugin(plugin->next);