git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
248ed45
)
Use new pathjoin() function.
author
Wayne Davison
<wayned@samba.org>
Tue, 20 Jan 2004 05:15:14 +0000
(
05:15
+0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 20 Jan 2004 05:15:14 +0000
(
05:15
+0000)
log.c
patch
|
blob
|
history
diff --git
a/log.c
b/log.c
index 3f8fd53b48d92b1d3c3dd15eac2ca7c8092a40bc..d29e2b94082338f4c5126832df8ce3247ee29ca1 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-385,8
+385,8
@@
static void log_formatted(enum logcode code,
break;
case 'o': n = op; break;
case 'f':
-
snprintf(buf2, sizeof(buf2), "%s/%s"
,
- file->basedir
?file->basedir:
"",
+
pathjoin(buf2, sizeof buf2
,
+ file->basedir
? file->basedir :
"",
f_name(file));
clean_fname(buf2);
n = buf2;