X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/2f5e252a6aa62e9bcea09868884561f2761c61b3..6239fc5b39f0055dbc53ccbfc80148824a811beb:/regress/hcommon.c?ds=inline diff --git a/regress/hcommon.c b/regress/hcommon.c index 7aada14..3c2daa3 100644 --- a/regress/hcommon.c +++ b/regress/hcommon.c @@ -67,9 +67,12 @@ void Qpoll( const struct pollfd *fds , int nfds , int timeout ) { Q_vb(); } #endif -void Qsocket( int type ) { +void Qsocket( int domain , int type ) { vb.used= 0; Tvba("socket"); + Tvbf(domain==PF_INET ? " domain=PF_INET" : + domain==PF_INET6 ? " domain=PF_INET6" : + " domain=AF_???"); Tvbf(type==SOCK_STREAM ? " type=SOCK_STREAM" : " type=SOCK_DGRAM"); Q_vb(); }