summaryrefslogtreecommitdiff
path: root/packer.c
diff options
context:
space:
mode:
Diffstat (limited to 'packer.c')
-rw-r--r--packer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packer.c b/packer.c
index 79acd2e..283c11f 100644
--- a/packer.c
+++ b/packer.c
@@ -49,7 +49,7 @@ int main(int argc, const char** argv) {
print_err("Hash table error.\n");
return 5;
}
- strcpy(e->name, argv[i + 3] + strlen(workingdir) + strlen(dsep));
+ strcpy(e->name, argv[i + 3]);
}
fwrite(magic, 1, 4, outfile);
fwrite(&pack->file_count, 1, 4, outfile);