Skip to content
Snippets Groups Projects
Commit 2100d06b authored by Craig Tiller's avatar Craig Tiller
Browse files

Comply with conventions

parent e57fb22a
No related branches found
No related tags found
No related merge requests found
...@@ -486,8 +486,8 @@ grpc_tcp_listener *grpc_tcp_server_add_port(grpc_tcp_server *s, ...@@ -486,8 +486,8 @@ grpc_tcp_listener *grpc_tcp_server_add_port(grpc_tcp_server *s,
addr_len = sizeof(addr4_copy); addr_len = sizeof(addr4_copy);
} }
sp = add_socket_to_server(s, fd, addr, addr_len); sp = add_socket_to_server(s, fd, addr, addr_len);
if (sp) sp->sibling = sp2; if (sp != NULL) sp->sibling = sp2;
if (sp2) sp2->is_sibling = 1; if (sp2 != NULL) sp2->is_sibling = 1;
done: done:
gpr_free(allocated_addr); gpr_free(allocated_addr);
......
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