aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/bsc_msc_ip.c3
-rw-r--r--openbsc/src/bssap.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/openbsc/src/bsc_msc_ip.c b/openbsc/src/bsc_msc_ip.c
index 2effc8e7b..5dc05c357 100644
--- a/openbsc/src/bsc_msc_ip.c
+++ b/openbsc/src/bsc_msc_ip.c
@@ -669,7 +669,6 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd)
if (!msg) {
if (error == 0) {
LOGP(DMSC, LOGL_ERROR, "The connection to the MSC was lost.\n");
-
return -1;
}
@@ -875,7 +874,7 @@ int main(int argc, char **argv)
msc_con->write_queue.read_cb = ipaccess_a_fd_cb;
msc_con->write_queue.write_cb = msc_sccp_do_write;
bsc_msc_connect(msc_con);
-
+
signal(SIGINT, &signal_handler);
signal(SIGABRT, &signal_handler);
diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c
index 50dff9289..abcb6ac85 100644
--- a/openbsc/src/bssap.c
+++ b/openbsc/src/bssap.c
@@ -892,7 +892,7 @@ static u_int8_t chan_mode_to_speech(struct gsm_lchan *lchan)
}
if (lchan->type == GSM_LCHAN_TCH_H)
- mode |= 0x4;
+ mode |= 0x4;
return mode;
}