X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fcore%2Fsocket.c;h=b6a4290c3fc20f4a2243de48d537129652e18e95;hb=5238e9575906297608ff802a27e2ff9effa3b338;hp=836e513d49d9b09aed899e81aa26fb22ba88d3ff;hpb=51aba17b88617515e037e8985d3a4ea871ac47fe;p=thirdparty%2Fsystemd.git diff --git a/src/core/socket.c b/src/core/socket.c index 836e513d49d..b6a4290c3fc 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -1868,7 +1868,7 @@ static int socket_coldplug(Unit *u) { SOCKET_RUNNING)) { /* Originally, we used to simply reopen all sockets here that we didn't have file descriptors - * for. However, this is problematic, as we won't traverse throught the SOCKET_START_CHOWN state for + * for. However, this is problematic, as we won't traverse through the SOCKET_START_CHOWN state for * them, and thus the UID/GID wouldn't be right. Hence, instead simply check if we have all fds open, * and if there's a mismatch, warn loudly. */ @@ -2873,7 +2873,7 @@ static int socket_accept_in_cgroup(Socket *s, SocketPort *p, int fd) { assert(p); assert(fd >= 0); - /* Similar to socket_address_listen_in_cgroup(), but for accept() rathern than socket(): make sure that any + /* Similar to socket_address_listen_in_cgroup(), but for accept() rather than socket(): make sure that any * connection socket is also properly associated with the cgroup. */ if (!IN_SET(p->address.sockaddr.sa.sa_family, AF_INET, AF_INET6))