diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-14 14:58:00 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-14 14:58:00 +0000 |
commit | 450f2decdd432d620fd46d8f2f808398e988456a (patch) | |
tree | afb866ce590d00d96372d2f2d954ca52d3c08794 /src | |
parent | 67c7cc8e20f601d23247ff4e6dd179955a53b5a3 (diff) | |
download | mpd-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
Diffstat (limited to 'src')
-rw-r--r-- | src/tagTracker.c | 10 |
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; |