From c793fc91020aeb8e373dbd01128b32ad3b948955 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Mon, 4 Apr 2011 17:53:23 +0200 Subject: [PATCH] Tweak layout. --- bacula/src/lib/scan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; + } } /* -- 2.39.5