X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/803b9e3fd25bf7a6e6c2cfd2cdc3071f6fc8808f..396a186997ca758fef76b8486879e42bb48fdab6:/regress/hcommon.c?ds=sidebyside 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(); }