]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
bouquet: save bouquet on name change
authorJaroslav Kysela <perex@perex.cz>
Thu, 5 Feb 2015 16:56:42 +0000 (17:56 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 5 Feb 2015 16:56:42 +0000 (17:56 +0100)
src/bouquet.c

index 2ff6157acd540548eb86b9bf736410158bdef548..b55762e46240f75eda800b5f98fee9df80646f87 100644 (file)
@@ -163,6 +163,7 @@ bouquet_find_by_source(const char *name, const char *src, int create)
       tvhwarn("bouquet", "bouquet name '%s' changed to '%s'", bq->bq_name ?: "", name);
       free(bq->bq_name);
       bq->bq_name = strdup(name);
+      bouquet_save(bq, 1);
     }
     return bq;
   }