aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-03-15 17:30:50 +0000
committerWayne Davison <wayned@samba.org>2005-03-15 17:30:50 +0000
commitc7791b8cb2fbbc59bbe3ae122fa64a40d6c08fd8 (patch)
treed35d60f5a4aa160d08cf4b4c7b70d0a8f14aa23d /main.c
parent7e9059d60fcead9a5e0108032da35fada4587fbb (diff)
downloadandroid_external_rsync-c7791b8cb2fbbc59bbe3ae122fa64a40d6c08fd8.tar.gz
android_external_rsync-c7791b8cb2fbbc59bbe3ae122fa64a40d6c08fd8.tar.bz2
android_external_rsync-c7791b8cb2fbbc59bbe3ae122fa64a40d6c08fd8.zip
Mention the index number for an "invalid packet at end of run".
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 9be5f5d5..81be989a 100644
--- a/main.c
+++ b/main.c
@@ -446,8 +446,8 @@ static void read_final_goodbye(int f_in, int f_out)
}
if (i != -1) {
- rprintf(FERROR, "Invalid packet at end of run [%s]\n",
- who_am_i());
+ rprintf(FERROR, "Invalid packet at end of run (%d) [%s]\n",
+ i, who_am_i());
exit_cleanup(RERR_PROTOCOL);
}
}