From: Jaroslav Kysela Date: Mon, 23 May 2016 19:37:55 +0000 (+0200) Subject: wizard: fix string check - coverity X-Git-Tag: v4.2.1~475 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9407f1b935b90d0693d96e0063cb7656de880df2;p=thirdparty%2Ftvheadend.git wizard: fix string check - coverity --- diff --git a/src/wizard.c b/src/wizard.c index 3100aab26..438383c7c 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -744,7 +744,7 @@ static void muxes_changed(idnode_t *in) } #if ENABLE_IPTV else if (idnode_is_instance(&mn->mn_id, &iptv_auto_network_class) && - w->iptv_url[idx]) { + w->iptv_url[idx][0]) { htsmsg_t *m = htsmsg_create_map(); htsmsg_add_str(m, "url", w->iptv_url[idx]); idnode_load(&mn->mn_id, m);