File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
rmw_fastrtps_shared_cpp/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ __rmw_service_server_is_available(
4343{
4444 if (!node) {
4545 RMW_SET_ERROR_MSG (" node handle is null" );
46- return RMW_RET_ERROR ;
46+ return RMW_RET_INVALID_ARGUMENT ;
4747 }
4848
4949 RMW_CHECK_TYPE_IDENTIFIERS_MATCH (
@@ -53,7 +53,7 @@ __rmw_service_server_is_available(
5353
5454 if (!client) {
5555 RMW_SET_ERROR_MSG (" client handle is null" );
56- return RMW_RET_ERROR ;
56+ return RMW_RET_INVALID_ARGUMENT ;
5757 }
5858
5959 RMW_CHECK_TYPE_IDENTIFIERS_MATCH (
@@ -63,7 +63,7 @@ __rmw_service_server_is_available(
6363
6464 if (!is_available) {
6565 RMW_SET_ERROR_MSG (" is_available is null" );
66- return RMW_RET_ERROR ;
66+ return RMW_RET_INVALID_ARGUMENT ;
6767 }
6868
6969 auto client_info = static_cast <CustomClientInfo *>(client->data );
You can’t perform that action at this time.
0 commit comments