socket: fix copy/paste error

Fixes: CID1432653
This commit is contained in:
Lennart Poettering 2020-09-09 19:37:38 +02:00
parent 197db625a3
commit 4934ba2121
1 changed files with 1 additions and 1 deletions

View File

@ -1064,7 +1064,7 @@ static void socket_apply_socket_options(Socket *s, int fd) {
}
if (s->send_buffer > 0) {
r = fd_set_sndbuf(fd, s->receive_buffer, false);
r = fd_set_sndbuf(fd, s->send_buffer, false);
if (r < 0)
log_unit_warning_errno(UNIT(s), r, "SO_SNDBUF/SO_SNDBUFFORCE failed: %m");
}