chiark / gitweb /
src/event.c: Use `continue' in adns_processreadable (style)
[adns.git] / regress / hcommon.c
index 3c2daa300bf1989ec27744b8ba9620697da63600..ebbef9400e4d361dc96c24cbabe2dcec6d54fd33 100644 (file)
@@ -70,8 +70,8 @@ void Qpoll(   const struct pollfd *fds , int nfds , int timeout       ) {
 void Qsocket(  int domain , int type   ) {
  vb.used= 0;
  Tvba("socket");
-  Tvbf(domain==PF_INET ? " domain=PF_INET" :
-         domain==PF_INET6 ? " domain=PF_INET6" :
+  Tvbf(domain==AF_INET ? " domain=AF_INET" :
+         domain==AF_INET6 ? " domain=AF_INET6" :
          " domain=AF_???"); 
   Tvbf(type==SOCK_STREAM ? " type=SOCK_STREAM" : " type=SOCK_DGRAM"); 
   Q_vb();