MCPcopy Create free account
hub / github.com/OpenPrinting/cups / if

Function if

cups/http-addrlist.c:374–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372 else if (pfds[i].revents & (POLLERR | POLLHUP))
373# else
374 else if (FD_ISSET(fds[i], &error_set))
375# endif /* HAVE_POLL */
376 {
377 /*
378 * Error on socket, remove from the "pool"...
379 */
380
381 httpAddrClose(NULL, fds[i]);
382 nfds --;
383 if (i < nfds)
384 {
385 memmove(fds + i, fds + i + 1, (size_t)(nfds - i) * (sizeof(fds[0])));
386 memmove(addrs + i, addrs + i + 1, (size_t)(nfds - i) * (sizeof(addrs[0])));
387 }
388 i --;
389 }
390 }
391
392 if (connaddr)

Callers

nothing calls this directly

Calls 1

httpAddrCloseFunction · 0.85

Tested by

no test coverage detected