diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stkutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stkutil.c b/src/stkutil.c index 9f3d5053..a2114620 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -2337,7 +2337,7 @@ static enum stk_command_parse_result parse_dataobj( } } - if (!l2) { + if (l2 == NULL) { if (comprehension_tlv_get_cr(iter) == TRUE) parse_error = TRUE; @@ -4145,7 +4145,7 @@ static gboolean build_dataobj_text(struct stk_tlv_builder *tlv, unsigned char tag = STK_DATA_OBJECT_TYPE_TEXT; gboolean ret; - if (!text->text && !text->yesno) + if (text->text == NULL && !text->yesno) return TRUE; if (stk_tlv_builder_open_container(tlv, cr, tag, TRUE) != TRUE) |