From: Marco van Wieringen Date: Mon, 4 Apr 2011 15:53:23 +0000 (+0200) Subject: Tweak layout. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c793fc91020aeb8e373dbd01128b32ad3b948955;p=bacula%2Fbacula Tweak layout. --- diff --git a/bacula/src/lib/scan.c b/bacula/src/lib/scan.c index 53bc960223..4e9aadc152 100644 --- a/bacula/src/lib/scan.c +++ b/bacula/src/lib/scan.c @@ -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; + } } /*