]> git.itanic.dy.fi Git - BME280_driver/commit
bmed: Exit all threads if socket creation fails.
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 28 Nov 2020 13:06:02 +0000 (15:06 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 28 Nov 2020 13:06:02 +0000 (15:06 +0200)
commitcfd2812b7a1268fb92db634d72cdaa38b1d8d269
treee88224ff480762f2399d86dabb225251344393eb
parent9fdbedb39ea32e4afa29ef7de376a34c136475dc
bmed: Exit all threads if socket creation fails.

If we fail to create the listening socket, the main thread should not
be left running without the listener.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
bmed.c