diff options
author | murgatroid99 <michael.lumish@gmail.com> | 2015-01-21 11:36:23 -0800 |
---|---|---|
committer | murgatroid99 <michael.lumish@gmail.com> | 2015-01-21 11:36:23 -0800 |
commit | c896e192f7d7b529891f5769769fb3ce84895494 (patch) | |
tree | f158ea2b6e91f0228c2ac18684beedff592a86e8 /include | |
parent | 9e14ead3f64a34faef39ba7ff5bfb1d198f3f4bd (diff) |
Brought grpc_server_add_secure_http2_port in line with grpc_server_http2_port
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/grpc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index 3c5b0de195..f03f61d84e 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -428,7 +428,8 @@ grpc_server *grpc_server_create(grpc_completion_queue *cq, REQUIRES: server not started */ int grpc_server_add_http2_port(grpc_server *server, const char *addr); -/* Add a secure port to server; returns 1 on success, 0 on failure +/* Add a secure port to server. + Returns bound port number on success, 0 on failure. REQUIRES: server not started */ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr); |