From e165d1aaa4abecbb8642139ee53d4f6e28ec0b00 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 29 Mar 2010 08:10:48 +0200 Subject: [misc] Clean some whitespace in files of this branch. --- openbsc/src/bsc_msc_ip.c | 3 +-- openbsc/src/bssap.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'openbsc/src') 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; } -- cgit v1.2.3