diff options
author | Robert Fairley <rfairley@redhat.com> | 2019-05-08 19:15:53 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2019-05-20 13:09:28 +0000 |
commit | 4929fc38e98a384d4f29d8710338b9e2e750f5a7 (patch) | |
tree | becfb23309c35650f9f655aa8ad2dcde6cd56334 /src/libostree/ostree-fetcher-util.h | |
parent | e493505ade01d3d03a0b366bee611cd710f72909 (diff) | |
download | ostree-4929fc38e98a384d4f29d8710338b9e2e750f5a7.tar.gz |
lib/fetcher-util: Use GIOErrorEnum instead of GIOError
Use GIOErrorEnum as the return value for
_ostree_fetcher_http_status_code_to_io_error(), to avoid an
implicit cast from GIOError.
Closes: #1857
Approved by: cgwalters
Diffstat (limited to 'src/libostree/ostree-fetcher-util.h')
-rw-r--r-- | src/libostree/ostree-fetcher-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-fetcher-util.h b/src/libostree/ostree-fetcher-util.h index 1cade068..46935402 100644 --- a/src/libostree/ostree-fetcher-util.h +++ b/src/libostree/ostree-fetcher-util.h @@ -78,7 +78,7 @@ void _ostree_fetcher_journal_failure (const char *remote_name, gboolean _ostree_fetcher_should_retry_request (const GError *error, guint n_retries_remaining); -GIOError _ostree_fetcher_http_status_code_to_io_error (guint status_code); +GIOErrorEnum _ostree_fetcher_http_status_code_to_io_error (guint status_code); G_END_DECLS |