afsmtp: check_error fixed

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>