From 06d633598727763c54b4b049dbc213106474d10c Mon Sep 17 00:00:00 2001 From: Dzmitry Zaitsau Date: Tue, 26 Feb 2019 11:04:18 +0100 Subject: fix indentation --- src/libstore/download.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstore/download.cc') diff --git a/src/libstore/download.cc b/src/libstore/download.cc index f1666d293ea4..22382ab1d6e8 100644 --- a/src/libstore/download.cc +++ b/src/libstore/download.cc @@ -620,8 +620,8 @@ struct CurlDownloader : public Downloader auto [path, params] = splitUriAndParams(uri); auto slash = path.find('/', 5); // 5 is the length of "s3://" prefix - if (slash == std::string::npos) - throw nix::Error("bad S3 URI '%s'", path); + if (slash == std::string::npos) + throw nix::Error("bad S3 URI '%s'", path); std::string bucketName(path, 5, slash - 5); std::string key(path, slash + 1); -- cgit 1.4.1