X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/82c24245034226967611c9d2c4f6f04b4f9db6cc..5944f3d64f5675df6eb8bd82ab45cc5ad31504a7:/src/libupkg.c diff --git a/src/libupkg.c b/src/libupkg.c index 8072516..4bb13a3 100644 --- a/src/libupkg.c +++ b/src/libupkg.c @@ -476,6 +476,7 @@ int upkg_export_seek(struct upkg_file *f, long offset, int whence) if (rc == 0) { f->pkg->priv->last_file = f; + f->offset = offset; f->eof = 0; } else if (f->pkg->priv->last_file == f) { f->pkg->priv->last_file = NULL;