aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/udp_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/iomgr/udp_server.c')
-rw-r--r--src/core/iomgr/udp_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/iomgr/udp_server.c b/src/core/iomgr/udp_server.c
index 9baaf1edc7..d884359aa4 100644
--- a/src/core/iomgr/udp_server.c
+++ b/src/core/iomgr/udp_server.c
@@ -278,7 +278,7 @@ static void on_read(grpc_exec_ctx *exec_ctx, void *arg, int success) {
/* Tell the registered callback that data is available to read. */
GPR_ASSERT(sp->read_cb);
- sp->read_cb(sp->fd, sp->server->grpc_server);
+ sp->read_cb(sp->emfd, sp->server->grpc_server);
/* Re-arm the notification event so we get another chance to read. */
grpc_fd_notify_on_read(exec_ctx, sp->emfd, &sp->read_closure);