From: Jaroslav Kysela Date: Tue, 18 Jun 2019 09:10:02 +0000 (+0200) Subject: capmt: another complation fix, fixes #5661 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=771dfd6bea7bd4035ed991eccbe735dc00d3f800;p=thirdparty%2Ftvheadend.git capmt: another complation fix, fixes #5661 --- diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index 50cfd5831..6561c68df 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -1508,7 +1508,7 @@ capmt_analyze_cmd(capmt_t *capmt, uint32_t cmd, int adapter, sbuf_t *sb, int off uint16_t protover = sbuf_peek_u16(sb, offset); int offset2 = offset + 2; - char *info = capmt_peek_str(sb, &offset2) ?: ""; + char *info = capmt_peek_str(sb, &offset2); char *rev = strstr(info, "build r"); tvhinfo(LS_CAPMT, "%s: Connected to server '%s' (protocol version %d)", capmt_name(capmt), info, protover);