add: if (strip_root) {  for (i=0;i<flist->count;i++) { if (flist->files[i]->dirname && flist->files[i]->dirname[0] == '/') { memmove(&flist->files[i]->dirname[0], &flist->files[i]->dirname[1], strlen(flist->files[i]->dirname)); }  if (flist->files[i]->dirname && !flist->files[i]->dirname[0]) { flist->files[i]->dirname = NULL; } } }   if (verbose <= 3) return;  for (i=0;i<flist->count;i++) { rprintf(FINFO,"[%d] i=%d %s %s mode=0%o len=%d\n", getpid(), i, flist->files[i]->dirname, flist->files[i]->basename, flist->files[i]->mode, flist->files[i]->length); }
context: void clean_flist(struct file_list *flist){	int i;	if (!flist || flist->count == 0) 		return;  	qsort(flist->files,flist->count,	      sizeof(flist->files[0]),	      (int (*)())file_compare);	for (i=1;i<flist->count;i++) {		if (flist->files[i]->basename &&		    flist->files[i-1]->basename &&		    strcmp(f_name(flist->files[i]),			   f_name(flist->files[i-1])) == 0) {			if (verbose > 1 && !am_server)				rprintf(FINFO,"removing duplicate name %s from file list %d\n",					f_name(flist->files[i-1]),i-1);			free_file(flist->files[i]);		} 	}}