diff options
author | Craig Tiller <ctiller@google.com> | 2016-08-29 11:25:56 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-08-29 11:25:56 -0700 |
commit | 8dfdb7e29912d239542c40e581660331059179a3 (patch) | |
tree | 0aaaad32b2241be1240f095c6033f590a258a381 /src/core | |
parent | 6e34f81f3890d53ebf9f9ccad1ae4bec4402bf41 (diff) |
Specify the "g" in gRPC
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/channel/http_client_filter.c | 5 | ||||
-rw-r--r-- | src/core/lib/surface/version.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/core/lib/channel/http_client_filter.c b/src/core/lib/channel/http_client_filter.c index a7a775cc53..9e67df8a9c 100644 --- a/src/core/lib/channel/http_client_filter.c +++ b/src/core/lib/channel/http_client_filter.c @@ -233,8 +233,9 @@ static grpc_mdstr *user_agent_from_args(const grpc_channel_args *args, } } - gpr_asprintf(&tmp, "%sgrpc-c/%s (%s; %s)", is_first ? "" : " ", - grpc_version_string(), GPR_PLATFORM_STRING, transport_name); + gpr_asprintf(&tmp, "%sgrpc-c/%s (%s; %s; %s)", is_first ? "" : " ", + grpc_version_string(), GPR_PLATFORM_STRING, transport_name, + grpc_g_stands_for()); is_first = 0; gpr_strvec_add(&v, tmp); diff --git a/src/core/lib/surface/version.c b/src/core/lib/surface/version.c index 1942075054..41242684da 100644 --- a/src/core/lib/surface/version.c +++ b/src/core/lib/surface/version.c @@ -37,3 +37,5 @@ #include <grpc/grpc.h> const char *grpc_version_string(void) { return "1.1.0-dev"; } + +const char *grpc_g_stands_for(void) { return "good"; } |