Fix missing linefeed in sendevent when there is no body for the event.