summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/opk.c b/src/opk.c
index f32b0a8..cdb3f58 100644
--- a/src/opk.c
+++ b/src/opk.c
@@ -90,8 +90,9 @@ opkg_opk_opk_init_outer(const char *file_name)
}
/* Check package version. */
- seek_name.name = "debian-binary";
- seek_name.next = NULL;
+ seek_name.name = "debian-binary";
+ seek_name.found = 0;
+ seek_name.next = NULL;
if (opkg_opk_ustar_seek(opk->outer_ustar, &seek_name) == OPKG_OPK_ERROR)
{
fputs("Error: Failed to find \"debian-binary\" in archive\n",