bsc_msc_ip.c: Do not attempt to disconnect when not connected

This is fixing a segfault due calling bsc_unregsiter_fd twice
without being in the list.
This commit is contained in:
Holger Hans Peter Freyther
2010-04-06 17:55:33 +02:00
parent 33b0bee457
commit add3472e9f

View File

@@ -958,6 +958,8 @@ static void signal_handler(int signal)
talloc_report_full(tall_bsc_ctx, stderr);
break;
case SIGUSR2:
if (!msc_con->is_connected)
return;
bsc_msc_lost(msc_con);
break;
default: