summaryrefslogtreecommitdiff
path: root/src/core/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-21 00:06:11 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-21 00:06:11 +0100
commit2e41a51ea4cf68f67d6d1e71482d95d9d50091b3 (patch)
treebfcda6260b1d3c56cd7eec84efa1970555a4d151 /src/core/load-fragment.c
parent54b434b1b5055f934230fe04fad35b01642b8488 (diff)
socket: fix segfault
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r--src/core/load-fragment.c1
1 files changed, 1 insertions, 0 deletions
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);