Removed non-ISO usage of __FUNCTION__.

Fixes #1843
pull/1844/head
David Garcia Quintas 10 years ago
parent 2e378c89f8
commit 7978a04d50
  1. 6
      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");

Loading…
Cancel
Save