if (*resp->presentStatus == Z_PresentStatus_failure)
wr_diag(wr, errcode, errstring);
else if (*resp->presentStatus == Z_PresentStatus_success)
if (*resp->presentStatus == Z_PresentStatus_failure)
wr_diag(wr, errcode, errstring);
else if (*resp->presentStatus == Z_PresentStatus_success)