From: hochwasser Date: Mon, 3 May 2021 20:10:46 +0000 (+0200) Subject: else is missing X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e66581e730d83e134320529087472d73956f19f3;p=thirdparty%2Ftvheadend.git else is missing While locking into the code, there seems to miss an else statement. The indentation seems so. --- diff --git a/src/bouquet.c b/src/bouquet.c index e71de5fc7..d39c5e748 100644 --- a/src/bouquet.c +++ b/src/bouquet.c @@ -1198,7 +1198,7 @@ parse_enigma2(bouquet_t *bq, char *data) if (*data) { *data = '\0'; data++; } if (bq->bq_name == NULL || bq->bq_name[0] == '\0') bq->bq_name = strdup(p); - } if (strncmp(data, "#SERVICE ", 9) == 0) { + } else if (strncmp(data, "#SERVICE ", 9) == 0) { data += 9, p = data; service: while (*data && *data != '\r' && *data != '\n') data++;