1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00

Reset errno so that subsequent TFTP requests don't fail after the

first failure.

PR:		misc/25502
MFC after:	2 weeks
This commit is contained in:
Mike Heffner 2001-06-30 21:39:09 +00:00
parent 189c7da2ec
commit 646bd49ed1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79034

View File

@ -117,6 +117,8 @@ recvtftp(d, pkt, len, tleft)
{
struct tftphdr *t;
errno = 0;
len = readudp(d, pkt, len, tleft);
if (len < 4)