diff options
author | David Teirney <david@teirney.net> | 2011-08-28 21:21:16 +1200 |
---|---|---|
committer | David Teirney <david@teirney.net> | 2011-08-29 00:02:32 +1200 |
commit | 0843133e95ef68c8e1654aaae250db04de01a5bb (patch) | |
tree | 1828591171d2c5ed3b81f638c048190eea748d7b /lib | |
parent | bda6ec260da791cc0597ea99415eaef1a73a9b0c (diff) |
Fixed the 8th parameter for ProgramInfo to be the channel name rather than the channel icon. Based on it's position in the ProgramInfo structure I assume this has been wrong back quite a few protocols.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cmyth/libcmyth/proginfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cmyth/libcmyth/proginfo.c b/lib/cmyth/libcmyth/proginfo.c index 52f68764e4..b36d38c3ac 100644 --- a/lib/cmyth/libcmyth/proginfo.c +++ b/lib/cmyth/libcmyth/proginfo.c @@ -465,7 +465,7 @@ delete_command(cmyth_conn_t control, cmyth_proginfo_t prog, char *cmd) sprintf(buf + strlen(buf), "%ld[]:[]", prog->proginfo_chanId); sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_chanstr)); sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_chansign)); - sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_chanicon)); + sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_channame)); sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_url)); sprintf(buf + strlen(buf), "%d[]:[]", (int32_t)(prog->proginfo_Length >> 32)); sprintf(buf + strlen(buf), "%d[]:[]", (int32_t)(prog->proginfo_Length & 0xffffffff)); @@ -1312,7 +1312,7 @@ fill_command(cmyth_conn_t control, cmyth_proginfo_t prog, char *cmd) sprintf(buf + strlen(buf), "%ld[]:[]", prog->proginfo_chanId); sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_chanstr)); sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_chansign)); - sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_chanicon)); + sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_channame)); sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_url)); sprintf(buf + strlen(buf), "%d[]:[]", (int32_t)(prog->proginfo_Length >> 32)); sprintf(buf + strlen(buf), "%d[]:[]", (int32_t)(prog->proginfo_Length & 0xffffffff)); |