xbps_transaction_commit: reset var value if binpkg/signature was downloaded successfully.

This commit is contained in:
Juan RP 2014-02-24 11:35:28 +01:00
parent 4d38311fbe
commit 1ad01b952a

View File

@ -160,6 +160,7 @@ download_binpkgs(struct xbps_handle *xhp, xbps_object_iterator_t iter)
free(file);
break;
}
rv = 0;
}
/*
* Download binary package signature.
@ -181,6 +182,7 @@ download_binpkgs(struct xbps_handle *xhp, xbps_object_iterator_t iter)
free(file);
break;
}
rv = 0;
}
free(sigfile);
if (file != NULL)