changeset 971:7d0062c2e2a4 trunk

[svn] - Implement vfs_fsize() for SMB transport
author ertzing
date Sun, 22 Apr 2007 04:06:00 -0700
parents 64409f979799
children cf7021ca4e7b
files ChangeLog src/smb/smb.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Apr 20 13:30:36 2007 -0700
+++ b/ChangeLog	Sun Apr 22 04:06:00 2007 -0700
@@ -1,3 +1,10 @@
+2007-04-20 20:30:36 +0000  Ralf Ertzinger <ralf@skytale.net>
+  revision [2080]
+  Revert accidential Makefile change
+  trunk/src/flacng/Makefile |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-04-20 20:29:12 +0000  Ralf Ertzinger <ralf@skytale.net>
   revision [2078]
   
--- a/src/smb/smb.c	Fri Apr 20 13:30:36 2007 -0700
+++ b/src/smb/smb.c	Sun Apr 22 04:06:00 2007 -0700
@@ -178,7 +178,9 @@
 off_t
 smb_vfs_fsize_impl(VFSFile * file)
 {
-    return -1;
+    SMBFile *handle = (SMBFile *)file->handle;
+
+    return handle->length;
 }
 
 VFSConstructor smb_const = {