changeset 1694:563537d047a1

Fix.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 09 Sep 2007 05:41:56 +0300
parents 62e89e392227
children c306cdaf648c
files src/xspf/xspf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xspf/xspf.c	Sat Sep 08 06:58:08 2007 +0300
+++ b/src/xspf/xspf.c	Sun Sep 09 05:41:56 2007 +0300
@@ -194,7 +194,7 @@
         tuple_associate_string(tuple, FIELD_FILE_PATH, NULL, scratch);
         g_free(scratch);
 
-        tuple_associate_string(tuple, FIELD_FILE_EXT, strrchr(location, '.'));
+        tuple_associate_string(tuple, FIELD_FILE_EXT, NULL, strrchr(location, '.'));
 
 #ifdef DEBUG
         printf("xspf: tuple->file_name = %s\n", tuple_get_string(tuple, FIELD_FILE_NAME, NULL));