Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsmsg: fix regression in htsmsg_set_str() introduced by DVR: remembe…
…r all filenames patch
  • Loading branch information
perexg committed May 21, 2015
1 parent 3a4dbc9 commit e91b0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/htsmsg.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit e91b0f2

Please sign in to comment.