Use new recv_generator() calling syntax.
authorWayne Davison <wayned@samba.org>
Sun, 4 Jan 2004 19:18:37 +0000 (19:18 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 4 Jan 2004 19:18:37 +0000 (19:18 +0000)
receiver.c

index 1ab74f5..cddad6d 100644 (file)
@@ -537,7 +537,7 @@ int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen)
                file = flist->files[i];
                if (!file->basename || !S_ISDIR(file->mode)) continue;
                recv_generator(local_name? local_name
-                            : f_name_to(file,fbuf,sizeof fbuf), flist, i, -1);
+                            : f_name_to(file,fbuf,sizeof fbuf), file, i, -1);
        }
 
        if (verbose > 2)