abisip-find: check bsc_fd_register() result
Change-Id: I72d713725d287d32ec90506099751aeb9b15ef15 Fixes: Coverity CID 70462
This commit is contained in:
parent
c346f87371
commit
8d35965f24
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue