Got rid of calls to (the soon to vanish) safe_fname() function.
[rsync/rsync.git] / pipe.c
diff --git a/pipe.c b/pipe.c
index 446afa7..d4bf113 100644 (file)
--- a/pipe.c
+++ b/pipe.c
@@ -25,11 +25,10 @@ extern int am_sender;
 extern int am_server;
 extern int blocking_io;
 extern int orig_umask;
-extern int write_batch;
 extern int filesfrom_fd;
 
 /**
- * Create a child connected to use on stdin/stdout.
+ * Create a child connected to us via its stdin/stdout.
  *
  * This is derived from CVS code
  *
@@ -127,10 +126,6 @@ pid_t local_child(int argc, char **argv, int *f_in, int *f_out,
                am_sender = !am_sender;
                am_server = 1;
 
-               /* The server side never writes the batch, even if it
-                * is local (it makes the logic easier elsewhere). */
-               write_batch = 0;
-
                if (!am_sender)
                        filesfrom_fd = -1;