Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
channels: icon: encode also postfix
  • Loading branch information
perexg committed Mar 30, 2016
1 parent 33b3d87 commit ff9dab0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/channels.c
Expand Up @@ -871,9 +871,12 @@ channel_get_icon ( channel_t *ch )
free((char *)sname);
sname = aname;
}
if (send)
send = url_encode(send);

snprintf(buf, sizeof(buf), "%s%s%s", chi, sname ?: "", send ?: "");
free((char *)sname);
free((char *)send);
free((char *)chi);

if (i > 1 || check_file(buf)) {
Expand Down

0 comments on commit ff9dab0

Please sign in to comment.