aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-08-30 08:40:00 -0700
committerGravatar GitHub <noreply@github.com>2016-08-30 08:40:00 -0700
commit99091704c11578bfca79d80869c480333058148b (patch)
tree2a1e1f15482927fd2664fe905827c0015e4e7f88 /src/core
parentd76ea8372809be7928b9b165685ae474b581a1cf (diff)
parentd9f907671d9ea702252615d98547f91d885840aa (diff)
Merge pull request #7912 from ctiller/g_stands_for
Specify the "g" in gRPC
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/channel/http_client_filter.c5
-rw-r--r--src/core/lib/surface/version.c2
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"; }