opkg: fix pkg_parse_raw() bug where architecture is set to an invalid value
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 04:20:55 +0000 (04:20 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 04:20:55 +0000 (04:20 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@25 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

pkg_parse.c

index d654e5dbad6170cc698e515d143a84cf8c4544b6..0bb4433c8d85229fff4a6ab15bea0007359e9d93 100644 (file)
@@ -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;