Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
62bf783
)
Fixed a typo in a variable name.
author
Wayne Davison
<wayned@samba.org>
Tue, 1 Feb 2005 08:12:00 +0000
(08:12 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 1 Feb 2005 08:12:00 +0000
(08:12 +0000)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
9ee7dcd
..
ed26bb8
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-522,7
+522,7
@@
void receive_file_entry(struct file_struct **fptr, unsigned short flags,
static gid_t gid;
static char lastname[MAXPATHLEN], *lastdir;
static int lastdir_depth, lastdir_len = -1;
static gid_t gid;
static char lastname[MAXPATHLEN], *lastdir;
static int lastdir_depth, lastdir_len = -1;
- static unsigned int del_h
ei
r_name_len = 0;
+ static unsigned int del_h
ie
r_name_len = 0;
static int in_del_hier = 0;
char thisname[MAXPATHLEN];
unsigned int l1 = 0, l2 = 0;
static int in_del_hier = 0;
char thisname[MAXPATHLEN];
unsigned int l1 = 0, l2 = 0;
@@
-646,11
+646,11
@@
void receive_file_entry(struct file_struct **fptr, unsigned short flags,
if (S_ISDIR(mode)) {
if (flags & XMIT_DEL_START) {
in_del_hier = 1;
if (S_ISDIR(mode)) {
if (flags & XMIT_DEL_START) {
in_del_hier = 1;
- del_h
ei
r_name_len = l1 + l2;
+ del_h
ie
r_name_len = l1 + l2;
file->flags |= FLAG_DEL_START;
} else if (delete_during && in_del_hier) {
file->flags |= FLAG_DEL_START;
} else if (delete_during && in_del_hier) {
- if (!relative_paths || (l1 >= del_h
ei
r_name_len
- && thisname[del_h
ei
r_name_len] == '/'))
+ if (!relative_paths || (l1 >= del_h
ie
r_name_len
+ && thisname[del_h
ie
r_name_len] == '/'))
file->flags |= FLAG_DEL_START;
else
in_del_hier = 0;
file->flags |= FLAG_DEL_START;
else
in_del_hier = 0;