diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-21 00:06:11 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-21 00:06:11 +0100 |
commit | 2e41a51ea4cf68f67d6d1e71482d95d9d50091b3 (patch) | |
tree | bfcda6260b1d3c56cd7eec84efa1970555a4d151 | |
parent | 54b434b1b5055f934230fe04fad35b01642b8488 (diff) |
socket: fix segfault
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/core/load-fragment.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -43,6 +43,8 @@ CGroup Rework Completion: Features: +* sd-bus: synthesized messages should get serial number (uint32_t) -1 + * sd-event: allow multiple signal handlers per signal * timer: expose accuracy as unit setting diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index de612f05cb..110f7fbb6e 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -298,6 +298,7 @@ int config_parse_socket_listen(const char *unit, } p->fd = -1; + p->socket = s; if (s->ports) { LIST_FIND_TAIL(port, s->ports, tail); |