diff options
author | Noah Eisen <ncteisen@gmail.com> | 2017-03-22 18:48:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 18:48:00 -0700 |
commit | 55837563c94cb78ba9d0ee5ee75f3be35cdd415b (patch) | |
tree | ab27568840f0ccf1a48b03b496cb18b565d0f854 /src/core/lib/iomgr/udp_server.c | |
parent | 48fda550acc5edd7785d5b58169d2e3868fbf42a (diff) | |
parent | 3d194ad7a3efbb2ba159f021b9692f8b2dec9f88 (diff) |
Merge pull request #10109 from ncteisen/error-slice-optimization
Error slice optimization
Diffstat (limited to 'src/core/lib/iomgr/udp_server.c')
-rw-r--r-- | src/core/lib/iomgr/udp_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/udp_server.c b/src/core/lib/iomgr/udp_server.c index 71e295770a..28f2bd9359 100644 --- a/src/core/lib/iomgr/udp_server.c +++ b/src/core/lib/iomgr/udp_server.c @@ -205,8 +205,8 @@ void grpc_udp_server_destroy(grpc_exec_ctx *exec_ctx, grpc_udp_server *s, for (sp = s->head; sp; sp = sp->next) { GPR_ASSERT(sp->orphan_cb); sp->orphan_cb(exec_ctx, sp->emfd, sp->server->user_data); - grpc_fd_shutdown(exec_ctx, sp->emfd, - GRPC_ERROR_CREATE("Server destroyed")); + grpc_fd_shutdown(exec_ctx, sp->emfd, GRPC_ERROR_CREATE_FROM_STATIC_STRING( + "Server destroyed")); } gpr_mu_unlock(&s->mu); } else { |