| 127 | } |
| 128 | |
| 129 | static void netloaderDeactivate(void) |
| 130 | { |
| 131 | if (listenfd >= 0) |
| 132 | { |
| 133 | close(listenfd); |
| 134 | listenfd = -1; |
| 135 | } |
| 136 | |
| 137 | if (datafd >= 0) |
| 138 | { |
| 139 | close(datafd); |
| 140 | datafd = -1; |
| 141 | } |
| 142 | |
| 143 | if (udpfd >= 0) |
| 144 | { |
| 145 | close(udpfd); |
| 146 | udpfd = -1; |
| 147 | } |
| 148 | |
| 149 | networkDeactivate(); |
| 150 | } |
| 151 | |
| 152 | void netloaderError(const char* func, int err) |
| 153 | { |
no test coverage detected