aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/server_chttp2.c
diff options
context:
space:
mode:
authorGravatar Hongyu Chen <hongyu@google.com>2015-12-11 11:08:35 -0800
committerGravatar Hongyu Chen <hongyu@google.com>2015-12-11 11:08:35 -0800
commitaa28ccc92291acc2ff527db72a9389ac2bd2034a (patch)
treefd7992b402380fdb01d5e193a7d3d8993876565b /src/core/surface/server_chttp2.c
parent0504a4443fb973f8cb3bc43f05bc1a73680fab59 (diff)
parent12fa8c83aff22c84ee92ea00c79b2f6236c93d26 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/core/surface/server_chttp2.c')
-rw-r--r--src/core/surface/server_chttp2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/surface/server_chttp2.c b/src/core/surface/server_chttp2.c
index 990bc4aa23..08691c858b 100644
--- a/src/core/surface/server_chttp2.c
+++ b/src/core/surface/server_chttp2.c
@@ -101,9 +101,7 @@ int grpc_server_add_insecure_http2_port(grpc_server *server, const char *addr) {
}
tcp = grpc_tcp_server_create();
- if (!tcp) {
- goto error;
- }
+ GPR_ASSERT(tcp);
for (i = 0; i < resolved->naddrs; i++) {
grpc_tcp_listener *listener;