Skip to content
Snippets Groups Projects
Commit 7f6864ac authored by Robbie Shade's avatar Robbie Shade Committed by Nicolas "Pixel" Noble
Browse files

Use grpc_error instead of bool in udp_server's on_read

parent ae8c64dc
No related branches found
No related tags found
No related merge requests found
......@@ -272,10 +272,10 @@ error:
}
/* event manager callback when reads are ready */
static void on_read(grpc_exec_ctx *exec_ctx, void *arg, bool success) {
static void on_read(grpc_exec_ctx *exec_ctx, void *arg, grpc_error* error) {
server_port *sp = arg;
if (!success) {
if (error != GRPC_ERROR_NONE) {
gpr_mu_lock(&sp->server->mu);
if (0 == --sp->server->active_ports) {
gpr_mu_unlock(&sp->server->mu);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment