aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/udp_server.c
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-10-04 13:09:36 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-10-04 13:09:36 -0700
commit53ab32be86d0747af636070674f5830123c5a45c (patch)
treea5c6ff1001c1558b502ca119090709cab7181bc5 /src/core/lib/iomgr/udp_server.c
parentdb1f7bc012d570b5909ee911b762a7968e857aea (diff)
added missing line to UDP server
Diffstat (limited to 'src/core/lib/iomgr/udp_server.c')
-rw-r--r--src/core/lib/iomgr/udp_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/udp_server.c b/src/core/lib/iomgr/udp_server.c
index 12e929fa6a..6650ef022d 100644
--- a/src/core/lib/iomgr/udp_server.c
+++ b/src/core/lib/iomgr/udp_server.c
@@ -199,6 +199,7 @@ void grpc_udp_server_destroy(grpc_exec_ctx *exec_ctx, grpc_udp_server *s,
/* shutdown all fd's */
if (s->active_ports) {
for (i = 0; i < s->nports; i++) {
+ server_port *sp = &s->ports[i];
/* Call the orphan_cb to signal that the FD is about to be closed and
* should no longer be used. */
GPR_ASSERT(sp->orphan_cb);