mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
abisip-find: check bsc_fd_register() result
Change-Id: I72d713725d287d32ec90506099751aeb9b15ef15 Fixes: Coverity CID 70462
This commit is contained in:
@@ -194,7 +194,11 @@ int main(int argc, char **argv)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
osmo_fd_register(&bfd);
|
||||
rc = osmo_fd_register(&bfd);
|
||||
if (rc < 0) {
|
||||
fprintf(stderr, "Cannot register FD\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
timer.cb = timer_cb;
|
||||
timer.data = &bfd;
|
||||
|
Reference in New Issue
Block a user