projects
/
project
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libopkg: store checksums in binary form, use integer index for architecture
[project/opkg-lede.git]
/
libopkg
/
opkg.c
diff --git
a/libopkg/opkg.c
b/libopkg/opkg.c
index 9e278cd7af621a1b47eb90fc73a96f146c2aa8e4..d8c17cdf87bd099adaa1e10c5cd528d14059de12 100644
(file)
--- a/
libopkg/opkg.c
+++ b/
libopkg/opkg.c
@@
-749,7
+749,7
@@
pkg_t *opkg_find_package(const char *name, const char *ver, const char *arch,
/* check architecture */
if (arch) {
- if (sstrcmp(pkg_get_
string(pkg, PKG_ARCHITECTURE
), arch))
+ if (sstrcmp(pkg_get_
architecture(pkg
), arch))
continue;
}