]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- source code formatting
authorArvin Schnell <aschnell@suse.de>
Fri, 31 May 2013 14:23:09 +0000 (16:23 +0200)
committerArvin Schnell <aschnell@suse.de>
Fri, 31 May 2013 14:23:09 +0000 (16:23 +0200)
snapper/FileUtils.cc

index 5aeebe5d6a7de57ad81f8f87e8b08c49e5ec5152..71e7334275a8ad510ba611d0d2003fc5dbd5210c 100644 (file)
@@ -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();
            }
        }