changeset 2144:39398ff5e162

fsize_impl should return -1 on a remote stream.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Tue, 30 Oct 2007 22:17:33 +0900
parents 4610f14103e4
children e685ac3817fb
files src/lastfm/lastfm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lastfm/lastfm.c	Sun Oct 28 16:31:12 2007 -0700
+++ b/src/lastfm/lastfm.c	Tue Oct 30 22:17:33 2007 +0900
@@ -537,7 +537,7 @@
 
 off_t lastfm_aud_vfs_fsize_impl(VFSFile * file)
 {
-        return 0;
+        return -1;
 }
 
 gchar *lastfm_aud_vfs_metadata_impl(VFSFile * file, const gchar * field)