Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsp: initialize creator for network accounts without usernames (IP a…
…ddresses), fixes #2865
  • Loading branch information
perexg committed May 21, 2015
1 parent 170d540 commit ccbdd82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/htsp_server.c
Expand Up @@ -1464,6 +1464,8 @@ htsp_method_addDvrEntry(htsp_connection_t *htsp, htsmsg_t *in)
retention = 0;
comment = htsmsg_get_str(in, "comment");
creator = htsp->htsp_username;
if (creator == NULL || *creator == '\0')
creator = htsp->htsp_granted_access->aa_representative;
if (!(lang = htsmsg_get_str(in, "language")))
lang = htsp->htsp_language;

Expand Down

0 comments on commit ccbdd82

Please sign in to comment.