diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-01-14 10:44:47 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-01-14 10:44:47 +0200 |
commit | 15b547c55b2045e68f9f48f7d929d47b300dc3a9 (patch) | |
tree | 7f54ff0671d56e099a8551ba8325a41c4029db19 /src/blob.c | |
parent | 3309eaa90008dcd4febf907f619a2f4f060d08b6 (diff) | |
download | apk-tools-15b547c55b2045e68f9f48f7d929d47b300dc3a9.tar.gz apk-tools-15b547c55b2045e68f9f48f7d929d47b300dc3a9.tar.bz2 apk-tools-15b547c55b2045e68f9f48f7d929d47b300dc3a9.tar.xz apk-tools-15b547c55b2045e68f9f48f7d929d47b300dc3a9.zip |
db: keep only filename in file entries, hash by both directory and file
Diffstat (limited to 'src/blob.c')
-rw-r--r-- | src/blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ int apk_blob_rsplit(apk_blob_t blob, char split, apk_blob_t *l, apk_blob_t *r) if (l != NULL) *l = APK_BLOB_PTR_PTR(blob.ptr, sep - 1); if (r != NULL) - *r = APK_BLOB_PTR_PTR(sep + 1, blob.ptr + blob.len); + *r = APK_BLOB_PTR_PTR(sep + 1, blob.ptr + blob.len - 1); return 1; } |