diff --git a/tivo_commands.c b/tivo_commands.c index 4e4fe3c..5d3d253 100644 --- a/tivo_commands.c +++ b/tivo_commands.c @@ -116,7 +116,7 @@ SendFormats(struct upnphttp *h, const char *sformat) } static char * -unescape_tag(char *tag) +tivo_unescape_tag(char *tag) { modifyString(tag, "&", "&"); modifyString(tag, "&lt;", "<"); @@ -141,7 +141,7 @@ callback(void *args, int argc, char **argv, char **azColName) if( strncmp(class, "item", 4) == 0 ) { int flags = 0; - unescape_tag(title); + tivo_unescape_tag(title); if( strncmp(mime, "audio", 5) == 0 ) { flags |= FLAG_NO_PARAMS; @@ -208,15 +208,15 @@ callback(void *args, int argc, char **argv, char **azColName) { return 0; } - strcatf(str, "