X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=socket.h;h=0c4ac001d219505555857c736eafdb9e93e0095a;hb=4e7a4526868db2410bc9e1aba0bd8361e4fd6962;hp=81b56c0690c40146a2d3edbfd99de523435eb33e;hpb=233bbfa928e1bcf8727247ebbcfe307c110866b3;p=~andy%2Ffetchmail diff --git a/socket.h b/socket.h index 81b56c06..0c4ac001 100644 --- a/socket.h +++ b/socket.h @@ -20,12 +20,6 @@ struct addrinfo; /** Create a new client socket; returns -1 on error */ int SockOpen(const char *host, const char *service, const char *plugin, struct addrinfo **); -/** Returns 1 if socket \a fd is OK, 0 if it isn't select()able - * on - probably because it's been closed. You should - * always check this function before passing stuff to the - * select()-based waiter, as otherwise it may loop. - */ -int SockCheckOpen(int fd); /** Get a string terminated by an '\n' (matches interface of fgets).