From 7978a04d50d7a92af27437545bb6bd10058c0c4d Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Sun, 31 May 2015 16:02:47 -0700 Subject: [PATCH] Removed non-ISO usage of __FUNCTION__. Fixes #1843 --- test/core/security/auth_context_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/core/security/auth_context_test.c b/test/core/security/auth_context_test.c index 54548bf1fc1..2fb0c01f6f2 100644 --- a/test/core/security/auth_context_test.c +++ b/test/core/security/auth_context_test.c @@ -43,7 +43,7 @@ static void test_empty_context(void) { grpc_auth_context *ctx = grpc_auth_context_create(NULL, 0); grpc_auth_property_iterator it; - gpr_log(GPR_INFO, __FUNCTION__); + gpr_log(GPR_INFO, "test_empty_context"); GPR_ASSERT(ctx != NULL); GPR_ASSERT(grpc_auth_context_peer_identity_property_name(ctx) == NULL); it = grpc_auth_context_peer_identity(ctx); @@ -60,7 +60,7 @@ static void test_simple_context(void) { grpc_auth_property_iterator it; size_t i; - gpr_log(GPR_INFO, __FUNCTION__); + gpr_log(GPR_INFO, "test_simple_context"); GPR_ASSERT(ctx != NULL); GPR_ASSERT(ctx->property_count == 3); ctx->properties[0] = grpc_auth_property_init_from_cstring("name", "chapi"); @@ -95,7 +95,7 @@ static void test_chained_context(void) { grpc_auth_property_iterator it; size_t i; - gpr_log(GPR_INFO, __FUNCTION__); + gpr_log(GPR_INFO, "test_chained_context"); grpc_auth_context_unref(chained); chained->properties[0] = grpc_auth_property_init_from_cstring("name", "padapo");