summaryrefslogtreecommitdiffstats
path: root/src/stkutil.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-05-28 11:20:14 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-05-28 11:29:35 -0500
commit8d863b6250705b3f7755f07e6677522c84390d60 (patch)
treeedce636d6326bd51b4bee5eb286b4bfd8ce0bf15 /src/stkutil.c
parent5ed7962765da87ba8a31e921e50d339b3b5d646d (diff)
downloadofono-8d863b6250705b3f7755f07e6677522c84390d60.tar.bz2
stkutil: Use more understandable syntax
Diffstat (limited to 'src/stkutil.c')
-rw-r--r--src/stkutil.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/stkutil.c b/src/stkutil.c
index 85021232..dda47def 100644
--- a/src/stkutil.c
+++ b/src/stkutil.c
@@ -3623,9 +3623,12 @@ static gboolean build_dataobj_access_technologies(struct stk_tlv_builder *tlv,
static gboolean build_dataobj_access_technology(struct stk_tlv_builder *tlv,
const void *data, gboolean cr)
{
- return build_dataobj_access_technologies(tlv,
- &(const struct stk_access_technologies) {
- .techs = data, .length = 1 }, cr);
+ const struct stk_access_technologies techs = {
+ .techs = data,
+ .length = 1,
+ };
+
+ return build_dataobj_access_technologies(tlv, &techs, cr);
}
/* Described in TS 102.223 Section 8.69 */