diff --git a/src/core/lib/security/security_connector/local_security_connector.cc b/src/core/lib/security/security_connector/local_security_connector.cc index bd6a6a083d3..c436a7906bf 100644 --- a/src/core/lib/security/security_connector/local_security_connector.cc +++ b/src/core/lib/security/security_connector/local_security_connector.cc @@ -34,7 +34,7 @@ #include "src/core/lib/security/transport/security_handshaker.h" #include "src/core/tsi/local_transport_security.h" -#define GRPC_UDS_URL_PATTERN "unix:" +#define GRPC_UDS_URI_PATTERN "unix:" #define GRPC_UDS_URL_SCHEME "unix" #define GRPC_LOCAL_TRANSPORT_SECURITY_TYPE "local" @@ -190,8 +190,8 @@ grpc_security_status grpc_local_channel_security_connector_create( const grpc_arg* server_uri_arg = grpc_channel_args_find(args, GRPC_ARG_SERVER_URI); const char* server_uri_str = grpc_channel_arg_get_string(server_uri_arg); - if (strncmp(GRPC_UDS_URL_PATTERN, server_uri_str, - strlen(GRPC_UDS_URL_PATTERN)) != 0) { + if (strncmp(GRPC_UDS_URI_PATTERN, server_uri_str, + strlen(GRPC_UDS_URI_PATTERN)) != 0) { gpr_log(GPR_ERROR, "Invalid target_name to " "grpc_local_channel_security_connector_create()");