Fix duplicate close
This commit is contained in:
parent
7623522726
commit
6df96f8148
1 changed files with 0 additions and 1 deletions
1
util.c
1
util.c
|
|
@ -96,7 +96,6 @@ pid_t fork_and_close()
|
|||
if (udpfd[i] != -1) close(udpfd[i]);
|
||||
}
|
||||
|
||||
if (pppoediscfd != -1) close(pppoediscfd);
|
||||
if (pppoediscfd != -1) close(pppoediscfd);
|
||||
if (controlfd != -1) close(controlfd);
|
||||
if (daefd != -1) close(daefd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue