From: Arvin Schnell Date: Fri, 31 May 2013 14:23:09 +0000 (+0200) Subject: - source code formatting X-Git-Tag: v0.1.5~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c7a78b7e578fc3eb8f02f192dea76e4d79a34c0;p=thirdparty%2Fsnapper.git - source code formatting --- diff --git a/snapper/FileUtils.cc b/snapper/FileUtils.cc index 5aeebe5d..71e73342 100644 --- a/snapper/FileUtils.cc +++ b/snapper/FileUtils.cc @@ -150,11 +150,11 @@ namespace snapper SDir SDir::deepopen(const SDir& dir, const string& name) { - string::size_type pos = name.find('/'); - if (pos == string::npos) - return SDir(dir, name); + string::size_type pos = name.find('/'); + if (pos == string::npos) + return SDir(dir, name); - return deepopen(SDir(dir, string(name, 0, pos)), string(name, pos + 1)); + return deepopen(SDir(dir, string(name, 0, pos)), string(name, pos + 1)); } @@ -492,7 +492,8 @@ namespace snapper } else { - y2err("Couldn't get extended attributes status for " << base_path << "/" << path << stringerror(errno)); + y2err("Couldn't get extended attributes status for " << base_path << "/" << + path << stringerror(errno)); throw IOErrorException(); } }