From: Jaroslav Kysela Date: Sat, 15 Dec 2018 19:15:13 +0000 (+0100) Subject: satip server: use strempty() function for the uuid check, fixes #5434 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1f303d01d061325f1cf145e87ee3341e771dbae;p=thirdparty%2Ftvheadend.git satip server: use strempty() function for the uuid check, fixes #5434 --- diff --git a/src/satip/server.c b/src/satip/server.c index 4ded46e2d..7aa1f556c 100644 --- a/src/satip/server.c +++ b/src/satip/server.c @@ -1086,7 +1086,7 @@ void satip_server_register(void) save = 1; } - if (satip_server_conf.satip_uuid == NULL) { + if (strempty(satip_server_conf.satip_uuid)) { /* This is not UPnP complaint UUID */ if (uuid_set(&u, NULL)) { tvherror(LS_SATIPS, "Unable to create UUID");