summaryrefslogtreecommitdiff
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 000000000..7a2e5441c
--- /dev/null
+++ b/meta/packages/opensync/libopensync/fix-attr.patch
@@ -0,0 +1,13 @@
+Index: trunk/opensync/merger/opensync_xmlfield.c
+===================================================================
+--- trunk.orig/opensync/merger/opensync_xmlfield.c 2007-04-12 16:40:07.000000000 +0200
++++ trunk/opensync/merger/opensync_xmlfield.c 2007-04-12 16:40:11.000000000 +0200
+@@ -298,7 +298,7 @@
+ int count;
+ xmlAttrPtr attr = xmlfield->node->properties;
+
+- for(count=0; attribute != NULL; count++) {
++ for(count=0; attr != NULL; count++) {
+ if(count == nth)
+ return (const char *)attr->name;
+ attr = attr->next;