diff options
Diffstat (limited to 'apps/plugins/search.c')
| -rw-r--r-- | apps/plugins/search.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/plugins/search.c b/apps/plugins/search.c index d1c7f04..4c6d569 100644 --- a/apps/plugins/search.c +++ b/apps/plugins/search.c @@ -24,8 +24,6 @@ PLUGIN_HEADER -static const struct plugin_api* rb; - #define BUFFER_SIZE 16384 static int fd; @@ -146,14 +144,12 @@ static bool search_init(const char* file){ } /* this is the plugin entry point */ -enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) +enum plugin_status plugin_start(const void* parameter) { int ok; const char *filename = parameter; char *p; - rb = api; - DEBUGF("%s - %s\n", (char *)parameter, &filename[rb->strlen(filename)-4]); /* Check the extension. We only allow .m3u files. */ if(rb->strcasecmp(&filename[rb->strlen(filename)-4], ".m3u") && |