From: Jaroslav Kysela Date: Thu, 21 May 2015 18:08:02 +0000 (+0200) Subject: htsmsg: fix regression in htsmsg_set_str() introduced by DVR: remember all filenames... X-Git-Tag: v4.2.1~2507 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e91b0f23b532f15e41206cb8c2861a281e9d10f7;p=thirdparty%2Ftvheadend.git htsmsg: fix regression in htsmsg_set_str() introduced by DVR: remember all filenames patch --- diff --git a/src/htsmsg.c b/src/htsmsg.c index 92f2f4c24..c0112a37b 100644 --- a/src/htsmsg.c +++ b/src/htsmsg.c @@ -288,7 +288,7 @@ htsmsg_set_str(htsmsg_t *msg, const char *name, const char *str) { htsmsg_field_t *f = htsmsg_field_find(msg, name); if (!f) - f = htsmsg_field_add(msg, name, HMF_STR, HMF_ALLOCED | HMF_NAME_ALLOCED); + f = htsmsg_field_add(msg, name, HMF_STR, HMF_NAME_ALLOCED); return htsmsg_field_set_str(f, str); }