Hi

The function should operate on the global api, not a local one.

- Lauri
>From a9d17f9eb0d055193a87fb0123ab70ef3c748d1d Mon Sep 17 00:00:00 2001
From: Lauri Kasanen <[email protected]>
Date: Mon, 28 May 2012 18:19:32 +0300
Subject: [PATCH] plugin: API must be global (bug)


Signed-off-by: Lauri Kasanen <[email protected]>
---
 src/mk_plugin.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mk_plugin.c b/src/mk_plugin.c
index 6fc9560..da288f0 100644
--- a/src/mk_plugin.c
+++ b/src/mk_plugin.c
@@ -299,7 +299,6 @@ void mk_plugin_init()
     void *handle;
     unsigned long len;
     struct plugin *p;
-    struct plugin_api *api;
     struct mk_config *cnf;
     struct mk_config_section *section;
     struct mk_config_entry *entry;
-- 
1.7.2.1

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to