summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-12-17 21:31:35 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-12-17 21:45:39 -0600
commit955e6a61ee5a4c461b361f04b452eda3d119fffa (patch)
tree82fb411805eea7052259ff81037db6baec4e4b56 /src/util.c
parent7ffd9cb8e890d69a606506adb86e0828ad09d253 (diff)
downloadofono-955e6a61ee5a4c461b361f04b452eda3d119fffa.tar.bz2
Style: Fix a few more occurences of if/else
See Linux coding style document for details
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 57e2ba2c..9f6cfdc2 100644
--- a/src/util.c
+++ b/src/util.c
@@ -933,8 +933,9 @@ unsigned char *unpack_7bit_own_buf(const unsigned char *in, long len,
out++;
bits = 7;
rest = 0;
- } else
+ } else {
bits = bits - 1;
+ }
}
/* According to 23.038 6.1.2.3.1, last paragraph: