From 40cd820fd6fee53c270c115617107100c6c18ece Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 22 Sep 2015 07:24:21 -0700 Subject: Fix list iteration --- src/core/client_config/subchannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/client_config') diff --git a/src/core/client_config/subchannel.c b/src/core/client_config/subchannel.c index 48df4bbd31..c570c55267 100644 --- a/src/core/client_config/subchannel.c +++ b/src/core/client_config/subchannel.c @@ -597,7 +597,7 @@ static void publish_transport(grpc_subchannel *c, grpc_call_list *call_list) { gpr_mu_unlock(&c->mu); while (w4c != NULL) { - waiting_for_connect *next = w4c; + waiting_for_connect *next = w4c->next; grpc_call_list_add(call_list, &w4c->continuation, 1); w4c = next; } -- cgit v1.2.3