diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 1c0286fc51..bf38684d3e 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1205,7 +1205,10 @@ static void do_get(char *rname,char *lname,file_info *finfo1) } DEBUG(0,("%s opening remote file %s\n",smb_errstr(inbuf),CNV_LANG(rname))); if(newhandle) - close(handle); + { + close(handle); + unlink(lname); + } free(inbuf);free(outbuf); return; } |