]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
idnode: fix the string filter for webui
authorJaroslav Kysela <perex@perex.cz>
Fri, 7 Nov 2014 17:12:42 +0000 (18:12 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 7 Nov 2014 17:12:50 +0000 (18:12 +0100)
src/idnode.c

index 962d0ba196aad1faa88d975889e3bc50f7cffd79..e9d52c6120fd60cba62e1c5e345a5e267572bb7d 100644 (file)
@@ -818,7 +818,8 @@ idnode_filter
       }
       if (strdisp)
         free(strdisp);
-      return r;
+      if (r)
+        return r;
     } else if (f->type == IF_NUM || f->type == IF_BOOL) {
       int64_t a, b;
       if (idnode_get_s64(in, f->key, &a))