diff options
author | Michael Schroeder <mls@suse.de> | 2013-04-05 15:51:36 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-04-05 15:51:36 +0200 |
commit | 91d23d51236a02edd97c9a1f043dbd186210d6e4 (patch) | |
tree | a8acf4b7d7c220d45d39cd2ab4ecc390ee94b864 /src/transaction.c | |
parent | 0aefaef40e841eeefc00f7f2c99215451fea9e6b (diff) | |
download | libsolv-91d23d51236a02edd97c9a1f043dbd186210d6e4.tar.gz libsolv-91d23d51236a02edd97c9a1f043dbd186210d6e4.tar.bz2 libsolv-91d23d51236a02edd97c9a1f043dbd186210d6e4.zip |
make queue_insertn more flexible
Yes, it's an API change, but I'm pretty sure that nobody
other than the solver itself uses queue_insertn.
Diffstat (limited to 'src/transaction.c')
-rw-r--r-- | src/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transaction.c b/src/transaction.c index c65606d..071f156 100644 --- a/src/transaction.c +++ b/src/transaction.c @@ -1957,7 +1957,7 @@ transaction_add_obsoleted(Transaction *trans) return; /* make room */ steps = &trans->steps; - queue_insertn(steps, 0, max); + queue_insertn(steps, 0, max, 0); /* now add em */ map_init(&done, installed->end - installed->start); |