summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7bea0da)
raw | patch | inline | side by side (parent: 7bea0da)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 19 Apr 2014 09:22:17 +0000 (11:22 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 19 Apr 2014 09:22:17 +0000 (11:22 +0200) |
src/core/plugin.c | patch | blob | history |
diff --git a/src/core/plugin.c b/src/core/plugin.c
index e6df9e9c2a9da7b1746fba2121492dbce630f0bc..1c07538125506ebbc2e49952af0be351e58456db 100644 (file)
--- a/src/core/plugin.c
+++ b/src/core/plugin.c
}
strcat(base_name, name_ptr);
- ctx = CTX(sdb_llist_search_by_name(all_plugins, base_name));
+ ctx = CTX(sdb_llist_search_by_name(all_plugins, name));
if (ctx) {
/* plugin already loaded */
++ctx->use_cnt;