diff options
author | Simo Sorce <idra@samba.org> | 2002-08-28 16:01:42 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-08-28 16:01:42 +0000 |
commit | 05876f8bcd05959e36255f8f379be0e744cfa11e (patch) | |
tree | a3e8fe1b2c1c8ed01e46720f2fe398c4b76180c6 | |
parent | b294ce998669699233dfc1adf8a90feb94a4c4f3 (diff) | |
download | samba-05876f8bcd05959e36255f8f379be0e744cfa11e.tar.gz samba-05876f8bcd05959e36255f8f379be0e744cfa11e.tar.bz2 samba-05876f8bcd05959e36255f8f379be0e744cfa11e.zip |
fix wrong check
(This used to be commit cb0ed2faa5ed9163421a0f58d45bcd7ec38f06ec)
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 8d057573f3..d5a1f557e7 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1099,7 +1099,7 @@ static int do_put(char *rname, char *lname, BOOL reput) /* size of file is not known */ } else { f = x_fopen(lname,O_RDONLY, 0); - if (!f && reput) { + if (f && reput) { if (x_tseek(f, start, SEEK_SET) == -1) { d_printf("Error seeking local file\n"); return 1; |