projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6051a7d
)
Fix absolutely stupid bug (only one '=' in c^Cparsion)
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Fri, 27 Jan 2012 08:01:32 +0000
(09:01 +0100)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Fri, 27 Jan 2012 08:01:32 +0000
(09:01 +0100)
xml_dump.c
patch
|
blob
|
history
diff --git
a/xml_dump.c
b/xml_dump.c
index
42e4eb1
..
f21303b
100644
(file)
--- a/
xml_dump.c
+++ b/
xml_dump.c
@@
-96,12
+96,12
@@
dump_files(xmlTextWriterPtr writer, Package *package, int primary,
if (astring[str_i] != '\0') {
fullname_buffer[fullname_i] = astring[str_i];
} else {
- if (astring = entry->name) {
+ if (astring =
=
entry->name) {
// entry->name string just ends
break;
}
- astring = entry->name;
str_i = 0;
+ astring = entry->name;
fullname_buffer[fullname_i] = astring[str_i];
}
str_i++;