From: ticktock35 Date: Mon, 15 Dec 2008 04:20:55 +0000 (+0000) Subject: opkg: fix pkg_parse_raw() bug where architecture is set to an invalid value X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=1b978470851b90036769099e69e82b1ea2d20500;hp=8b44d858a9895bfaec1f78562c9619c5652d9056 opkg: fix pkg_parse_raw() bug where architecture is set to an invalid value git-svn-id: http://opkg.googlecode.com/svn/trunk@25 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/pkg_parse.c b/pkg_parse.c index d654e5d..0bb4433 100644 --- a/pkg_parse.c +++ b/pkg_parse.c @@ -274,7 +274,6 @@ int pkg_parse_raw(pkg_t *pkg, char ***raw, pkg_src_t *src, pkg_dest_t *dest) pkg->auto_installed = 1; } free(auto_installed_value); - pkg->architecture = parseGenericFieldType("Auto-Installed", *lines); } break;