summaryrefslogtreecommitdiff
path: root/ext/repo_autopattern.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-09-10 15:38:48 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-09-10 15:38:48 +0900
commitd4334b3ee7ce4f5c736d3bda979388a87ba7aef3 (patch)
treebd59cecbc982f93ef4a237bd81f1b9cfd0cb10c7 /ext/repo_autopattern.c
parent79b3a6b7ab494c5ff10e740fd147f21a04907907 (diff)
downloadlibsolv-d4334b3ee7ce4f5c736d3bda979388a87ba7aef3.tar.gz
libsolv-d4334b3ee7ce4f5c736d3bda979388a87ba7aef3.tar.bz2
libsolv-d4334b3ee7ce4f5c736d3bda979388a87ba7aef3.zip
Imported Upstream version 0.7.3upstream/0.7.3
Diffstat (limited to 'ext/repo_autopattern.c')
-rw-r--r--ext/repo_autopattern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/repo_autopattern.c b/ext/repo_autopattern.c
index 4c09e79..bbc90cb 100644
--- a/ext/repo_autopattern.c
+++ b/ext/repo_autopattern.c
@@ -131,8 +131,8 @@ repo_add_autopattern(Repo *repo, int flags)
if (repo == pool->installed)
flags |= ADD_NO_AUTOPRODUCTS; /* no auto products for installed repos */
- pattern_id = pool_str2id(pool, "pattern()", 9);
- product_id = pool_str2id(pool, "product()", 9);
+ pattern_id = pool_str2id(pool, "pattern()", 1);
+ product_id = pool_str2id(pool, "product()", 1);
queue_init(&categorykeys);
FOR_REPO_SOLVABLES(repo, p, s)