Skip to content

Commit

Permalink
Merge pull request #1800 from klemensn/rtsp-listener-exit-segfault
Browse files Browse the repository at this point in the history
Fix crash on double pthread_cancel(3) on exit (detected on OpenBSD).
  • Loading branch information
mikebrady authored Feb 6, 2024
2 parents 750e43b + 783d600 commit 00a4758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5694,7 +5694,7 @@ void *rtsp_listen_loop(__attribute((unused)) void *arg) {
} while (1);
pthread_cleanup_pop(1); // should never happen
} else {
warn("could not establish a service on port %d -- program terminating. Is another instance of "
die("could not establish a service on port %d -- program terminating. Is another instance of "
"Shairport Sync running on this device?",
config.port);
}
Expand Down

0 comments on commit 00a4758

Please sign in to comment.