src/archiver_lzma.c
changeset 999 54f5a2e925ac
parent 972 254427fc42ab
child 1016 957c97389257
--- a/src/archiver_lzma.c	Wed Jun 03 18:44:15 2009 -0400
+++ b/src/archiver_lzma.c	Sun Jun 21 17:37:47 2009 -0400
@@ -649,6 +649,7 @@
     BAIL_IF_MACRO(file == NULL, ERR_NO_SUCH_FILE, NULL);
     BAIL_IF_MACRO(file->folder == NULL, ERR_NOT_A_FILE, NULL);
 
+    file->position = 0;
     file->folder->references++; // Increase refcount for automatic cleanup...
 
     return(file);