curl: Add more assertions for curl return values
authorColin Walters <walters@verbum.org>
Thu, 19 Sep 2024 18:29:20 +0000 (14:29 -0400)
committerColin Walters <walters@verbum.org>
Thu, 19 Sep 2024 18:29:20 +0000 (14:29 -0400)
commit772df8f6003ad9d1eaac3d1b7585718fa8cfd719
tree047a0de9d8e2e5a2d1150e85ac2ca91a231fc3aa
parent688ced3901eba0fb1d80d51dc660463a1c1c637a
curl: Add more assertions for curl return values

Followup to the previous curl fixes; if we'd had an assertion
earlier debugging the failure would have been more obvious.

All of these are "should not fail" cases so asserting is
right.
src/libostree/ostree-fetcher-curl.c