changeset 1228:4d5587c4bf56

fixed writting of legacy metadata
author nadvornik
date Sat, 27 Dec 2008 22:53:07 +0000
parents 2df7be0cd20b
children 878718372aca
files src/metadata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/metadata.c	Fri Dec 26 19:04:36 2008 +0000
+++ b/src/metadata.c	Sat Dec 27 22:53:07 2008 +0000
@@ -137,7 +137,7 @@
 	g_assert(fd->change);
 	
 	if (fd->change->dest && 
-	    strcmp(extension_from_path(fd->path), GQ_CACHE_EXT_METADATA) == 0)
+	    strcmp(extension_from_path(fd->change->dest), GQ_CACHE_EXT_METADATA) == 0)
 		{
 		success = metadata_legacy_write(fd);
 		if (success) metadata_legacy_delete(fd, fd->change->dest);