diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-06-13 18:44:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-06-13 18:44:35 +0000 |
commit | a1aad20c69870db5718de6f2b6dc0beec78cf3ae (patch) | |
tree | 05b5dd5cffe07d98157e6d2a59a2f71bb32170b1 | |
parent | 3c4f7db7bbfba2382428a8c1647e42164094b3d9 (diff) | |
download | perl-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.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |