corserver-client: Fix error reporting

Signed-off-by: Michael Buesch <m@bues.ch>