mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 06:52:45 +00:00
Make sure to reset transflag back to zero upon succesfully using sendfile()
to transfer a file. PR: 39362 Submitted by: TANAKA Hiroyuki <kattyo@abk.nu> MFC after: 1 week
This commit is contained in:
parent
53282320d1
commit
0849c18499
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99318
@ -1845,6 +1845,7 @@ send_data(FILE *instr, FILE *outstr, off_t blksize, off_t filesize, int isreg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
transflag = 0;
|
||||||
reply(226, "Transfer complete.");
|
reply(226, "Transfer complete.");
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user