Give a meaningful error message when we fail to write to a batch file.
[rsync/rsync.git] / sender.c
index ed6a736..bf8221d 100644 (file)
--- a/sender.c
+++ b/sender.c
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 1996 Andrew Tridgell
  * Copyright (C) 1996 Paul Mackerras
- * Copyright (C) 2003-2008 Wayne Davison
+ * Copyright (C) 2003-2009 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -201,8 +201,6 @@ void send_files(int f_in, int f_out)
                                break;
                        if (DEBUG_GTE(SEND, 1))
                                rprintf(FINFO, "send_files phase=%d\n", phase);
-                       if (phase == 2)
-                               read_del_stats(f_in);
                        write_ndx(f_out, NDX_DONE);
                        continue;
                }