X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/5c6cd9e070869430d1833751512d47300599f54c..28747f70aa4b085e74b02c6b8b20db86d41ed6f0:/regress/hrecord.c?ds=sidebyside diff --git a/regress/hrecord.c b/regress/hrecord.c index c059434..dec099b 100644 --- a/regress/hrecord.c +++ b/regress/hrecord.c @@ -81,7 +81,7 @@ int Hpoll( struct pollfd *fds , int nfds , int timeout ) { #endif int Hsocket( int domain , int type , int protocol ) { int r, e; - Tmust("socket","domain",domain==PF_INET || domain==PF_INET6); + Tmust("socket","domain",domain==AF_INET || domain==AF_INET6); Tmust("socket","type",type==SOCK_STREAM || type==SOCK_DGRAM); Qsocket( domain , type ); r= socket( domain , type , protocol );