diff options
author | Wayne Davison <wayned@samba.org> | 2010-03-31 14:56:52 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2010-03-31 14:57:01 -0700 |
commit | 554dc122f271fc361b963067fa3d80084fd7ca91 (patch) | |
tree | 0a565c8ee5c59b6060276f5032f229305392a27b /flist.c | |
parent | 8c934eba05c38f2e8d04e524e5e077844f23698d (diff) | |
download | rsync-554dc122f271fc361b963067fa3d80084fd7ca91.tar.gz rsync-554dc122f271fc361b963067fa3d80084fd7ca91.tar.bz2 rsync-554dc122f271fc361b963067fa3d80084fd7ca91.zip |
Removing now-redundant path-size check from send_if_directory().
Diffstat (limited to 'flist.c')
-rw-r--r-- | flist.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1564,12 +1564,6 @@ static void send_if_directory(int f, struct file_list *flist, unsigned int len = strlen(fbuf); if (len > 1 && fbuf[len-1] == '/') fbuf[--len] = '\0'; - if (len >= MAXPATHLEN - 1) { - io_error |= IOERR_GENERAL; - rprintf(FERROR_XFER, "skipping long-named directory: %s\n", - full_fname(fbuf)); - return; - } save_filters = push_local_filters(fbuf, len); send_directory(f, flist, fbuf, len, flags); pop_local_filters(save_filters); |