plugin = new_plugin();
plugin->file = bstrdup(result->d_name);
- plugin->len = strstr(plugin->file, type) - plugin->file;
+ plugin->file_len = strstr(plugin->file, type) - plugin->file;
plugin->pHandle = dlopen(fname.c_str(), RTLD_NOW);
if (!plugin->pHandle) {
Jmsg(NULL, M_ERROR, 0, _("Plugin load %s failed: ERR=%s\n"),