.pkt file was not closed when header is bad
This commit is contained in:
parent
b0c43af5ff
commit
5b7e741b4b
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user