Skip to content
Snippets Groups Projects
Commit d0043250 authored by Jan Tattermusch's avatar Jan Tattermusch Committed by GitHub
Browse files

Merge pull request #6888 from yang-g/fixes

Minor fixes
parents 0c75c11f 17c5da2b
No related branches found
No related tags found
No related merge requests found
...@@ -243,13 +243,13 @@ static int prepare_socket(int fd, const struct sockaddr *addr, ...@@ -243,13 +243,13 @@ static int prepare_socket(int fd, const struct sockaddr *addr,
if (!grpc_set_socket_sndbuf(fd, buffer_size_bytes)) { if (!grpc_set_socket_sndbuf(fd, buffer_size_bytes)) {
gpr_log(GPR_ERROR, "Failed to set send buffer size to %d bytes", gpr_log(GPR_ERROR, "Failed to set send buffer size to %d bytes",
buf_size_bytes); buffer_size_bytes);
goto error; goto error;
} }
if (!grpc_set_socket_rcvbuf(fd, buffer_size_bytes)) { if (!grpc_set_socket_rcvbuf(fd, buffer_size_bytes)) {
gpr_log(GPR_ERROR, "Failed to set receive buffer size to %d bytes", gpr_log(GPR_ERROR, "Failed to set receive buffer size to %d bytes",
buf_size_bytes); buffer_size_bytes);
goto error; goto error;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment