diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-25 12:39:49 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-25 12:39:49 +0000 |
| commit | b6e43a2e89bcfd40dac884639d6560f15aaf1a1e (patch) | |
| tree | c4470d939417057c5bb235c205cf679af9e6ccf0 /meta/packages/opensync/libopensync/fix-attr.patch | |
| parent | caf3b5b1bc3733abcf7a180a411b23d37ab9295c (diff) | |
| download | poky-b6e43a2e89bcfd40dac884639d6560f15aaf1a1e.tar.gz | |
libopensync: make SVN version buildable (disabled by default)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1556 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/opensync/libopensync/fix-attr.patch')
| -rw-r--r-- | meta/packages/opensync/libopensync/fix-attr.patch | 13 |
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 @@ | |||
| 1 | Index: 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; | ||
