.pkt file was not closed when header is bad

This commit is contained in:
Michiel Broek 2005-08-17 19:04:17 +00:00
parent b0c43af5ff
commit 5b7e741b4b

View File

@ -287,6 +287,7 @@ int TossPkt(char *fn)
(rc == 3)?"packet is not for us":
(rc == 4)?"bad password":
"bad packet");
fclose(pkt);
return(rc);
}