Skip to content

Commit

Permalink
[CAPI] fixed ov_infer_request_wait_for return value issue (#22014)
Browse files Browse the repository at this point in the history
  • Loading branch information
riverlijunjie authored Jan 8, 2024
1 parent 38ee887 commit 49231c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/c/src/ov_infer_request.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ ov_status_e ov_infer_request_wait_for(ov_infer_request_t* infer_request, const i
}
CATCH_OV_EXCEPTIONS

return ret ? ov_status_e::OK : ov_status_e::UNEXPECTED;
return ret ? ov_status_e::OK : ov_status_e::RESULT_NOT_READY;
}

ov_status_e ov_infer_request_set_callback(ov_infer_request_t* infer_request, const ov_callback_t* callback) {
Expand Down

0 comments on commit 49231c0

Please sign in to comment.