fixed segfault when sending passive service result

this was due to using return_code when registering the command but
using status_code when receiving the command.

Signed-off-by: Sven Nierlein <sven@nierlein.de>