aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-29 08:10:48 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-29 08:10:48 +0200
commite165d1aaa4abecbb8642139ee53d4f6e28ec0b00 (patch)
treee1b9a06926fdffdb67f145a33d973ea110664162 /openbsc/src
parent649496eb57fb109348e75e22fe8fee8ef828e906 (diff)
[misc] Clean some whitespace in files of this branch.
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;
}