Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epggrab: eit - fix code block in _eit_get_string_with_len() - coverity
  • Loading branch information
perexg committed Oct 3, 2014
1 parent cbeb3d1 commit 3b5f981
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/epggrab/module/eit.c
Expand Up @@ -99,10 +99,12 @@ static int _eit_get_string_with_len

/* Enable huffman decode (for freeview and/or freesat) */
m = epggrab_module_find_by_id("uk_freesat");
if (m && m->enabled) cptr = _eit_freesat_conv;
else
if (m && m->enabled) {
cptr = _eit_freesat_conv;
} else {
m = epggrab_module_find_by_id("uk_freeview");
if (m && m->enabled) cptr = _eit_freesat_conv;
}

/* Convert */
return dvb_get_string_with_len(dst, dstlen, src, srclen, charset, cptr);
Expand Down

0 comments on commit 3b5f981

Please sign in to comment.