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:
74ae9c4
)
Small code refactoring
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 15 Nov 2012 12:05:42 +0000
(13:05 +0100)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 15 Nov 2012 12:05:42 +0000
(13:05 +0100)
src/createrepo_c.c
patch
|
blob
|
history
diff --git
a/src/createrepo_c.c
b/src/createrepo_c.c
index
e319fc6
..
3a7fbe6
100644
(file)
--- a/
src/createrepo_c.c
+++ b/
src/createrepo_c.c
@@
-242,12
+242,12
@@
dumper_thread(gpointer data, gpointer user_data)
g_debug("%s metadata are obsolete -> generating new",
task->filename);
}
- }
- if (old_used) {
- // We have usable old data, but we have to set proper locations
- md->location_href = (char *) location_href;
- md->location_base = (char *) location_base;
+ if (old_used) {
+ // We have usable old data, but we have to set proper locations
+ md->location_href = (char *) location_href;
+ md->location_base = (char *) location_base;
+ }
}
}