summaryrefslogtreecommitdiffstats
path: root/meta/packages/opensync/libopensync/fix-attr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/opensync/libopensync/fix-attr.patch')
-rw-r--r--meta/packages/opensync/libopensync/fix-attr.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync/fix-attr.patch b/meta/packages/opensync/libopensync/fix-attr.patch
new file mode 100644
index 0000000000..7a2e5441c8
--- /dev/null
+++ b/meta/packages/opensync/libopensync/fix-attr.patch
@@ -0,0 +1,13 @@
1Index: trunk/opensync/merger/opensync_xmlfield.c
2===================================================================
3--- trunk.orig/opensync/merger/opensync_xmlfield.c 2007-04-12 16:40:07.000000000 +0200
4+++ trunk/opensync/merger/opensync_xmlfield.c 2007-04-12 16:40:11.000000000 +0200
5@@ -298,7 +298,7 @@
6 int count;
7 xmlAttrPtr attr = xmlfield->node->properties;
8
9- for(count=0; attribute != NULL; count++) {
10+ for(count=0; attr != NULL; count++) {
11 if(count == nth)
12 return (const char *)attr->name;
13 attr = attr->next;