]> git.ipfire.org Git - people/ms/pakfire.git/commitdiff
transaction: Actually download packages again
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Oct 2023 17:22:30 +0000 (17:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Oct 2023 17:22:30 +0000 (17:22 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/transaction.c

index c0913de1a8c6853e91b2068528f3175255d887b7..9f24306a11f4db8d66faedec12fe8036c3ef1129 100644 (file)
@@ -1833,6 +1833,11 @@ static int pakfire_transaction_download_package(struct pakfire_transaction* tran
        if (r)
                goto ERROR;
 
+       // Enqueue the transfer
+       r = pakfire_httpclient_enqueue_xfer(httpclient, xfer);
+       if (r)
+               goto ERROR;
+
 ERROR:
        if (xfer)
                pakfire_xfer_unref(xfer);