From: Marco van Wieringen Date: Mon, 4 Apr 2011 15:53:23 +0000 (+0200) Subject: Tweak layout. X-Git-Tag: Release-7.0.0~964 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a2d4411f4110d6c4c33554d3d56fe5d593ec8a8;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; + } } /*