]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/socket: use _cleanup_ to close the connection fd 16940/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 2 Sep 2020 16:17:14 +0000 (18:17 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 2 Sep 2020 16:18:28 +0000 (18:18 +0200)
commit5cf09553c30f94e874727fc2200dbce8571d40da
treed6698e5bc175aa48f6f8c9e1a743c82052b0f0c2
parentb669c20f9746369a991829a0530ec5970886cb34
core/socket: use _cleanup_ to close the connection fd

Removing the gotos would lead to a lot of duplicated code, so I left them
as they were.
src/core/socket.c