aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-14 14:58:00 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-14 14:58:00 +0000
commit450f2decdd432d620fd46d8f2f808398e988456a (patch)
treeafb866ce590d00d96372d2f2d954ca52d3c08794
parent67c7cc8e20f601d23247ff4e6dd179955a53b5a3 (diff)
downloadmpd-450f2decdd432d620fd46d8f2f808398e988456a.tar.gz
mpd-450f2decdd432d620fd46d8f2f808398e988456a.tar.xz
mpd-450f2decdd432d620fd46d8f2f808398e988456a.zip
put tracking titles back in tag tracker
git-svn-id: https://svn.musicpd.org/mpd/trunk@2654 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/tagTracker.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tagTracker.c b/src/tagTracker.c
index 0966d858d..68124c9e2 100644
--- a/src/tagTracker.c
+++ b/src/tagTracker.c
@@ -24,7 +24,7 @@ typedef struct tagTrackerItem {
char * getTagItemString(int type, char * string) {
ListNode * node;
- if(type == TAG_ITEM_TITLE) return strdup(string);
+ /*if(type == TAG_ITEM_TITLE) return strdup(string);*/
if(tagLists[type] == NULL) {
tagLists[type] = makeList(free, 1);
@@ -48,16 +48,16 @@ void removeTagItemString(int type, char * string) {
assert(string);
- /*assert(tagLists[type]);*/
+ assert(tagLists[type]);
if(tagLists[type] == NULL) return;
node = findNodeInList(tagLists[type], string);
- /*assert(node);*/
+ assert(node);
- if(!node) {
+ /*if(!node) {
free(string);
return;
- }
+ }*/
if(node) {
TagTrackerItem * item = node->data;