X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/82c24245034226967611c9d2c4f6f04b4f9db6cc..0ea001fde2555a1335161632b2d78c9397d8f53d:/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;