aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2016-10-04 22:48:01 -0700
committerGravatar GitHub <noreply@github.com>2016-10-04 22:48:01 -0700
commite8176dc30fa2686ef3de8b8d87b7d9f136a05e33 (patch)
tree78978da0c80430181d6cef03f33a7b83859496bc
parentf8cabbbf9d294dcf73ffc49dea6fde0fd651b1ee (diff)
parent53ab32be86d0747af636070674f5830123c5a45c (diff)
Merge pull request #8282 from dgquintas/udp_sp
added missing line to UDP server
-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);