]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak layout.
authorMarco van Wieringen <mvw@planets.elm.net>
Mon, 4 Apr 2011 15:53:23 +0000 (17:53 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:44:33 +0000 (14:44 +0200)
bacula/src/lib/scan.c

index 53bc960223dedce2ea6a34e083b4d37d929befd4..4e9aadc15258c9c20f007d8b5be36fb812ceade0 100644 (file)
@@ -91,8 +91,9 @@ void strip_trailing_slashes(char *dir)
     * Strip trailing slashes
     */
    p = dir + strlen(dir) - 1;
-   while (p >= dir && IsPathSeparator(*p))
+   while (p >= dir && IsPathSeparator(*p)) {
       *p-- = 0;
+   }
 }
 
 /*