socket: fix segfault
This commit is contained in:
parent
54b434b1b5
commit
2e41a51ea4
2
TODO
2
TODO
|
@ -43,6 +43,8 @@ CGroup Rework Completion:
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
* sd-bus: synthesized messages should get serial number (uint32_t) -1
|
||||||
|
|
||||||
* sd-event: allow multiple signal handlers per signal
|
* sd-event: allow multiple signal handlers per signal
|
||||||
|
|
||||||
* timer: expose accuracy as unit setting
|
* timer: expose accuracy as unit setting
|
||||||
|
|
|
@ -298,6 +298,7 @@ int config_parse_socket_listen(const char *unit,
|
||||||
}
|
}
|
||||||
|
|
||||||
p->fd = -1;
|
p->fd = -1;
|
||||||
|
p->socket = s;
|
||||||
|
|
||||||
if (s->ports) {
|
if (s->ports) {
|
||||||
LIST_FIND_TAIL(port, s->ports, tail);
|
LIST_FIND_TAIL(port, s->ports, tail);
|
||||||
|
|
Loading…
Reference in a new issue