From 05876f8bcd05959e36255f8f379be0e744cfa11e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 28 Aug 2002 16:01:42 +0000 Subject: fix wrong check (This used to be commit cb0ed2faa5ed9163421a0f58d45bcd7ec38f06ec) --- source3/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client') 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; -- cgit