diff options
author | Christian Wieninger <cwieninger@gmx.de> | 2012-04-06 20:27:04 +0200 |
---|---|---|
committer | Christian Wieninger <cwieninger@gmx.de> | 2012-04-06 20:27:04 +0200 |
commit | 3bd2658c85f00269583259d5912c88f031b9599f (patch) | |
tree | 6f95f40fbaf30b383a16f566d84a0ade7b448cec /epgsearchext.c | |
parent | 65f1e5030f076c530a5a6a37ead43cf7d9d86325 (diff) | |
download | vdr-plugin-epgsearch-3bd2658c85f00269583259d5912c88f031b9599f.tar.gz vdr-plugin-epgsearch-3bd2658c85f00269583259d5912c88f031b9599f.tar.bz2 |
bugtracker #929, bunch of warning fixes, thanks to Joe_D for providing this patch
Diffstat (limited to 'epgsearchext.c')
-rw-r--r-- | epgsearchext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epgsearchext.c b/epgsearchext.c index b1ecb56..455ac93 100644 --- a/epgsearchext.c +++ b/epgsearchext.c @@ -313,7 +313,7 @@ const char *cSearchExt::ToText() while (SearchExtCat) { char* catvalue = NULL; - msprintf(&catvalue, "%s", catvalues[index]); + if (msprintf(&catvalue, "%s", catvalues[index])==-1) break; while(strstr(catvalue, ":")) catvalue = strreplace(catvalue, ":", "!^colon^!"); // ugly: replace with something, that should not happen to be part ofa category value while(strstr(catvalue, "|")) |