summaryrefslogtreecommitdiffstats
path: root/src/gsm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-09-20 10:00:25 +0200
committerHarald Welte <laforge@gnumonks.org>2012-09-20 10:00:25 +0200
commitbe55a8b81482a0cd4a97dfcd1156b6954497280f (patch)
tree52450675c7583ddc46ac17c2fc35206cf6b6597b /src/gsm
parentbb67be9bd295441c600832b2701807006b4147bc (diff)
gsm_utils: Fix up coding style in previous patch
'if' is not a function, so we have space before parenthesis.
Diffstat (limited to 'src/gsm')
-rw-r--r--src/gsm/gsm_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm/gsm_utils.c b/src/gsm/gsm_utils.c
index f51cf1bc..6af0a5ff 100644
--- a/src/gsm/gsm_utils.c
+++ b/src/gsm/gsm_utils.c
@@ -146,13 +146,13 @@ int gsm_7bit_decode_hdr(char *text, const uint8_t *user_data, uint8_t septet_l,
(user_data[((i + shift) * 7) >> 3] >>
(((i + shift) * 7) & 7))) & 0x7f;
- if(c == 0x1b && i + 1 < septet_l){
+ if (c == 0x1b && i + 1 < septet_l) {
next_is_ext = 1;
continue;
}
/* this is an extension character */
- if(next_is_ext){
+ if (next_is_ext) {
next_is_ext = 0;
*(text++) = gsm_7bit_alphabet[0x7f + c];
} else {