diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-01-03 23:41:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-01-03 23:41:40 +0100 |
| commit | 1bff57b9dc7af17be1e570e45bbbe3347835e749 (patch) | |
| tree | 74b0981b4f8f40b5551ef7f5dd576a2951a079d5 /src/lib | |
| parent | f25c112a12e061beba786c40170c51df361a0984 (diff) | |
Compress an if.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/internet.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/internet.cc b/src/lib/internet.cc index 26c89a7b5..cb8b7d616 100644 --- a/src/lib/internet.cc +++ b/src/lib/internet.cc @@ -149,8 +149,7 @@ get_from_zip_url(string url, string file, bool pasv, bool skip_pasv_ip, function { /* Download the ZIP file to temp_zip */ ScopedTemporary temp_zip; - auto e = get_from_url(url, pasv, skip_pasv_ip, temp_zip); - if (e) { + if (auto e = get_from_url(url, pasv, skip_pasv_ip, temp_zip)) { return e; } |
