Mention the index number for an "invalid packet at end of run".

This commit is contained in:
Wayne Davison
2005-03-15 17:30:50 +00:00
parent 7e9059d60f
commit c7791b8cb2

4
main.c
View File

@@ -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);
}
}