diff options
| author | Roy Marples <roy@marples.name> | 2009-01-15 15:11:13 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-01-15 15:11:13 +0000 |
| commit | 94484b56247d288ae528f3640ff0d7bf69ba3e6b (patch) | |
| tree | de0d72adeb4c88bcec715f67f382112ef19acb19 /control.c | |
| parent | ad22dab30ac6653b27b9971100ace375bb067d84 (diff) | |
| download | dhcpcd-94484b56247d288ae528f3640ff0d7bf69ba3e6b.tar.xz | |
We should use close here.
Diffstat (limited to 'control.c')
| -rw-r--r-- | control.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ remove_control_data(void *arg) for (l = fds; l != NULL; l = l->next) { if (l == arg) { - shutdown(l->fd, SHUT_RDWR); + close(l->fd); delete_event(l->fd); if (last == NULL) fds = l->next; |
