diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-06-15 11:03:53 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-06-15 14:32:58 -0500 |
commit | 3ba288c3960866450e0a065e05b9ae682d825f72 (patch) | |
tree | 295f4c01c9d5077c9b31e9b10494e82f6e5a8e0c /src/stkutil.c | |
parent | d5ad48c661e20606bc91a9c7ff145951d2c16bdc (diff) | |
download | ofono-3ba288c3960866450e0a065e05b9ae682d825f72.tar.bz2 |
stkutil: Minor style cleanups in stkutil
Diffstat (limited to 'src/stkutil.c')
-rw-r--r-- | src/stkutil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stkutil.c b/src/stkutil.c index 9d25143a..fc7efcee 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -4236,6 +4236,7 @@ static gboolean build_dataobj_pdp_context_params(struct stk_tlv_builder *tlv, if (params->len < 1) return TRUE; + if (params->len > 0x7f) return FALSE; @@ -4527,6 +4528,7 @@ static gboolean build_dataobj_eps_pdn_conn_params(struct stk_tlv_builder *tlv, if (params->len < 1) return TRUE; + if (params->len > 0x7f) return FALSE; @@ -4924,6 +4926,7 @@ static gboolean build_envelope_call_control( NULL); break; } + if (ok != TRUE) return FALSE; |