skip decompression for null strings

This commit is contained in:
hummypkg 2014-11-23 22:25:31 +00:00 committed by HummyPkg
parent 56825f0502
commit fba5a52e92
1 changed files with 2 additions and 2 deletions

4
main.c
View File

@ -21,7 +21,7 @@
#include "lint.h" #include "lint.h"
int debug = 0; int debug = 0;
const char *version = "1.0.13"; const char *version = "1.0.14";
unsigned long sysopts = 0; unsigned long sysopts = 0;
unsigned long filterflags = 0; unsigned long filterflags = 0;
static time_t latest_stamp = 0; static time_t latest_stamp = 0;
@ -88,7 +88,7 @@ syntax()
} }
#define DECOMPRESS(str, len) \ #define DECOMPRESS(str, len) \
if (*(str) == 0x1f) uncompress_epg(&(str), &(len)) if (str && *(str) == 0x1f) uncompress_epg(&(str), &(len))
void void
pass(struct epg *epg __attribute__((unused)), pass(struct epg *epg __attribute__((unused)),