]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Change pool_str2id calls to use "1" instead of "9"
authorMichael Schroeder <mls@suse.de>
Mon, 7 Jan 2019 13:45:45 +0000 (14:45 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 7 Jan 2019 13:45:45 +0000 (14:45 +0100)
ext/repo_autopattern.c

index 4c09e796df122a77125de9409b6abb49a0d36140..bbc90cbf499a18d47a6e1ec3557a3917c83515df 100644 (file)
@@ -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)