X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4bde45f60e1b6c49a86a19389adddfb45b99a6c5..b3b326016a4d29fea20d97e782f1af05542aca22:/flist.c diff --git a/flist.c b/flist.c index 87dbf411..a6c324ae 100644 --- a/flist.c +++ b/flist.c @@ -1002,8 +1002,7 @@ struct file_struct *make_file(const char *fname, struct file_list *flist, alloc_pool_t *pool; char *bp; - if (strlcpy(thisname, fname, sizeof thisname) - >= sizeof thisname - pathname_len) { + if (strlcpy(thisname, fname, sizeof thisname) >= sizeof thisname) { rprintf(FINFO, "skipping overly long name: %s\n", fname); return NULL; }