about summary refs log tree commit diff
path: root/src/libstore/download.cc
diff options
context:
space:
mode:
authorDzmitry Zaitsau <pradd.me@gmail.com>2019-02-26T10·04+0100
committerDzmitry Zaitsau <pradd.me@gmail.com>2019-02-26T10·07+0100
commit06d633598727763c54b4b049dbc213106474d10c (patch)
treed9e2df8cb37c0bb12040de7361cd5afc2972c4ee /src/libstore/download.cc
parentac200c3678c0f569cd962d8bbd22bb74b223d748 (diff)
fix indentation
Diffstat (limited to 'src/libstore/download.cc')
-rw-r--r--src/libstore/download.cc4
1 files changed, 2 insertions, 2 deletions
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);