diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-09-28 08:20:58 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-09-28 00:47:28 +0000 |
commit | 7e5bb6283dbfe9c44d5be85b2cd04675153c011e (patch) | |
tree | fe3d235cbae5557c1849824aa08347755dca505e /openbsc/src/gprs | |
parent | 3ea9fece6dab31a8dc8f1bf9badad9bb80149fbd (diff) |
COSMETIC: 'if' is not a function, so there is space before '('
Change-Id: Ic22623dffce998d70a3c67aa6e445de98f558ed7
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r-- | openbsc/src/gprs/gprs_llc.c | 4 | ||||
-rw-r--r-- | openbsc/src/gprs/gprs_sndcp.c | 2 | ||||
-rw-r--r-- | openbsc/src/gprs/sgsn_libgtp.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/openbsc/src/gprs/gprs_llc.c b/openbsc/src/gprs/gprs_llc.c index ff771b8fa..5b1f33329 100644 --- a/openbsc/src/gprs/gprs_llc.c +++ b/openbsc/src/gprs/gprs_llc.c @@ -1066,7 +1066,7 @@ int gprs_llgmm_reset(struct gprs_llc_llme *llme) /* Generate XID message */ xid_bytes_len = gprs_llc_generate_xid_for_gmm_reset(xid_bytes, sizeof(xid_bytes),llme->iov_ui,llme); - if(xid_bytes_len < 0) + if (xid_bytes_len < 0) return -EINVAL; xid = msgb_put(msg, xid_bytes_len); memcpy(xid, xid_bytes, xid_bytes_len); @@ -1099,7 +1099,7 @@ int gprs_llgmm_reset_oldmsg(struct msgb* oldmsg, uint8_t sapi, /* Generate XID message */ xid_bytes_len = gprs_llc_generate_xid_for_gmm_reset(xid_bytes, sizeof(xid_bytes),llme->iov_ui,llme); - if(xid_bytes_len < 0) + if (xid_bytes_len < 0) return -EINVAL; xid = msgb_put(msg, xid_bytes_len); memcpy(xid, xid_bytes, xid_bytes_len); diff --git a/openbsc/src/gprs/gprs_sndcp.c b/openbsc/src/gprs/gprs_sndcp.c index 0b18f816e..1cbeede09 100644 --- a/openbsc/src/gprs/gprs_sndcp.c +++ b/openbsc/src/gprs/gprs_sndcp.c @@ -779,7 +779,7 @@ int sndcp_llunitdata_ind(struct msgb *msg, struct gprs_llc_lle *lle, /* FIXME: move this RA_ID up to the LLME or even higher */ bssgp_parse_cell_id(&sne->ra_id, msgb_bcid(msg)); - if(scomph) { + if (scomph) { sne->defrag.pcomp = scomph->pcomp; sne->defrag.dcomp = scomph->dcomp; sne->defrag.proto = lle->llme->comp.proto; diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c index 9f6532532..127ee30ba 100644 --- a/openbsc/src/gprs/sgsn_libgtp.c +++ b/openbsc/src/gprs/sgsn_libgtp.c @@ -328,13 +328,13 @@ static int send_act_pdp_cont_acc(struct sgsn_pdp_ctx *pctx) /* Send PDP CTX ACT to MS */ rc = gsm48_tx_gsm_act_pdp_acc(pctx); - if(rc < 0) + if (rc < 0) return rc; /* Send SNDCP XID to MS */ lle = &pctx->mm->gb.llme->lle[pctx->sapi]; rc = sndcp_sn_xid_req(lle,pctx->nsapi); - if(rc < 0) + if (rc < 0) return rc; return 0; |