changeset 873:84413425840f trunk

[svn] - These two lines probably shouldn't be in here as it is doubtful they do anything helpful
author nazca
date Sat, 17 Mar 2007 00:30:46 -0700
parents ad00b785dec0
children 5b29a6fe9295
files ChangeLog src/smb/smb.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Mar 17 00:25:24 2007 -0700
+++ b/ChangeLog	Sat Mar 17 00:30:46 2007 -0700
@@ -1,3 +1,10 @@
+2007-03-17 07:25:24 +0000  Daniel Bradshaw <nazca@atheme.org>
+  revision [1844]
+  - Slight tweak ... smbc_init returns 0 on sucess, not fail
+  trunk/src/smb/smb.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-03-17 07:07:05 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1842]
   - make this work, i think.
--- a/src/smb/smb.c	Sat Mar 17 00:25:24 2007 -0700
+++ b/src/smb/smb.c	Sat Mar 17 00:30:46 2007 -0700
@@ -133,8 +133,6 @@
       roffset = 0;
     ret = smbc_lseek(handle->fd, roffset, whence);
     //printf("%ld %d = %d\n",roffset, whence, ret);
-    if (ret == 0)
-      ret = handle->length;
   }
 	
   return ret;