skip decompression for null strings
This commit is contained in:
parent
56825f0502
commit
fba5a52e92
4
main.c
4
main.c
|
@ -21,7 +21,7 @@
|
|||
#include "lint.h"
|
||||
|
||||
int debug = 0;
|
||||
const char *version = "1.0.13";
|
||||
const char *version = "1.0.14";
|
||||
unsigned long sysopts = 0;
|
||||
unsigned long filterflags = 0;
|
||||
static time_t latest_stamp = 0;
|
||||
|
@ -88,7 +88,7 @@ syntax()
|
|||
}
|
||||
|
||||
#define DECOMPRESS(str, len) \
|
||||
if (*(str) == 0x1f) uncompress_epg(&(str), &(len))
|
||||
if (str && *(str) == 0x1f) uncompress_epg(&(str), &(len))
|
||||
|
||||
void
|
||||
pass(struct epg *epg __attribute__((unused)),
|
||||
|
|
Loading…
Reference in New Issue