regress/: Replace PF_ with AF_
[adns] / regress / hrecord.c
index c059434..dec099b 100644 (file)
@@ -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        );