Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some spelling corrections and other simple fixes.
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
670f48b
..
3c1115f
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-93,7
+93,7
@@
int delete_file(char *fname)
if (strcmp(dname,".") == 0
|| strcmp(dname,"..") == 0)
continue;
if (strcmp(dname,".") == 0
|| strcmp(dname,"..") == 0)
continue;
-
snprintf(buf, sizeof(buf), "%s/%s"
, fname, dname);
+
pathjoin(buf, sizeof buf
, fname, dname);
if (verbose > 0)
rprintf(FINFO,"deleting %s\n", buf);
if (delete_file(buf) != 0) {
if (verbose > 0)
rprintf(FINFO,"deleting %s\n", buf);
if (delete_file(buf) != 0) {