When your engine detects that the game has ended by rule, your engine must output a line of the form "RESULT {comment}"
xboard relays the result to the user, the ICS, the other engine in Two Machines mode, and the PGN save file as required.
That happens if the result that engine sends to xboard is not correct?
xboard rejects it or it relays the result incorrect to the another engine?
Thanks