X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fnet.c;h=640da3beab3c8c6e832d40de4d91cec09ab89c52;hb=27991d8b6d1fdbe35e21b86c2eb64117c9eb7260;hp=4fee86ce9f043c4d399383acf297eea6e49f33e8;hpb=a73e353edc3b31d9e2f0be44e6ad1b4dbdb79f9c;p=doldaconnect.git diff --git a/daemon/net.c b/daemon/net.c index 4fee86c..640da3b 100644 --- a/daemon/net.c +++ b/daemon/net.c @@ -592,12 +592,6 @@ struct socket *netcslisten(int type, struct sockaddr *name, socklen_t namelen, v errno = EOPNOTSUPP; return(NULL); } - /* I don't know if this is actually correct (it probably isn't), - * but since, at on least Linux systems, PF_* are specifically - * #define'd to their AF_* counterparts, it allows for a severely - * smoother implementation. If it breaks something on your - * platform, please tell me so. - */ if(confgetint("net", "mode") == 0) return(netcslistenlocal(type, name, namelen, func, data)); errno = EOPNOTSUPP;