# HG changeset patch # User nazca # Date 1174116646 25200 # Node ID 84413425840f1f72e840bad87d5b7edcdf3cafad # Parent ad00b785dec0e54d75466dbf331211a69fe24d59 [svn] - These two lines probably shouldn't be in here as it is doubtful they do anything helpful diff -r ad00b785dec0 -r 84413425840f ChangeLog --- 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 + 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 revision [1842] - make this work, i think. diff -r ad00b785dec0 -r 84413425840f src/smb/smb.c --- 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;