aboutsummaryrefslogtreecommitdiff
path: root/lib/cpluff
diff options
context:
space:
mode:
authoralcoheca <alcoheca@svn>2010-05-04 21:35:37 +0000
committeralcoheca <alcoheca@svn>2010-05-04 21:35:37 +0000
commit51666e43e6bb8137a647e3ac561b09e2b044f3f6 (patch)
tree0e9107e68977bff215ec7af660e15503ee698be8 /lib/cpluff
parentfc23248a33b37de02e21eda5d505622a73fe5ef9 (diff)
fixed: cpluff was expecting the wrong terminating string
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29791 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'lib/cpluff')
-rw-r--r--lib/cpluff/libcpluff/ploader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cpluff/libcpluff/ploader.c b/lib/cpluff/libcpluff/ploader.c
index f33df277f5..76ed161067 100644
--- a/lib/cpluff/libcpluff/ploader.c
+++ b/lib/cpluff/libcpluff/ploader.c
@@ -745,7 +745,7 @@ static void CP_XMLCALL start_element_handler(
import->plugin_id = NULL;
import->version = NULL;
for (i = 0; atts[i] != NULL; i += 2) {
- if (!strcmp(atts[i], "plugin")) {
+ if (!strcmp(atts[i], "addon")) {
import->plugin_id
= parser_strdup(plcontext, atts[i+1]);
} else if (!strcmp(atts[i], "version")) {
@@ -828,7 +828,7 @@ static void CP_XMLCALL end_element_handler(
switch (plcontext->state) {
case PARSER_PLUGIN:
- if (!strcmp(name, "plugin")) {
+ if (!strcmp(name, "addon")) {
// Readjust memory allocated for extension points, if necessary
if (plcontext->ext_points_size != plcontext->plugin->num_ext_points) {