A call to maskurg() makes sense only when a transfer is under way,

the function will emit an annoying log message otherwise.

Reported by:	kris
MFC:		along with rev. 1.202
This commit is contained in:
Yaroslav Tykhiy 2005-02-16 11:22:20 +00:00
parent c82b8ff04f
commit 91ae77792e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141966

View file

@ -2764,12 +2764,14 @@ static void
flagxfer(int flag)
{
maskurg(!flag);
if (flag) {
recvurg = 0;
transflag = 1;
} else
maskurg(0);
recvurg = 0;
} else {
maskurg(1);
transflag = 0;
}
}
/*