diff options
-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; |