mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
OSC bail out if server cannot be started
This commit is contained in:
parent
92161b57ad
commit
6b19f5a444
1 changed files with 4 additions and 0 deletions
|
|
@ -167,6 +167,10 @@ OSC::start ()
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!_osc_server) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int fd = lo_server_get_socket_fd (_osc_server);
|
||||
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue