aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-13 18:44:35 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-13 18:44:35 +0000
commita1aad20c69870db5718de6f2b6dc0beec78cf3ae (patch)
tree05b5dd5cffe07d98157e6d2a59a2f71bb32170b1
parent3c4f7db7bbfba2382428a8c1647e42164094b3d9 (diff)
downloadperl-URPM-a1aad20c69870db5718de6f2b6dc0beec78cf3ae.tar
perl-URPM-a1aad20c69870db5718de6f2b6dc0beec78cf3ae.tar.gz
perl-URPM-a1aad20c69870db5718de6f2b6dc0beec78cf3ae.tar.bz2
perl-URPM-a1aad20c69870db5718de6f2b6dc0beec78cf3ae.tar.xz
perl-URPM-a1aad20c69870db5718de6f2b6dc0beec78cf3ae.zip
(return_files) simplify
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 36ad9b1..54a886d 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -681,7 +681,7 @@ return_files(const Header header, int filter_mode) {
for(i = 0; i < rpmtdCount(&td_baseNames); i++) {
if (list) {
s = list[i];
- len = strlen(list[i]);
+ len = strlen(s);
} else {
len = strlen(dirNames[dirIndexes[i]]);
if (len >= sizeof(buff)) continue;