chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regress/: Replace PF_ with AF_
[adns]
/
regress
/
hcommon.c
diff --git
a/regress/hcommon.c
b/regress/hcommon.c
index 3c2daa300bf1989ec27744b8ba9620697da63600..ebbef9400e4d361dc96c24cbabe2dcec6d54fd33 100644
(file)
--- a/
regress/hcommon.c
+++ b/
regress/hcommon.c
@@
-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");
void Qsocket( int domain , int type ) {
vb.used= 0;
Tvba("socket");
- Tvbf(domain==
PF_INET ? " domain=P
F_INET" :
- domain==
PF_INET6 ? " domain=P
F_INET6" :
+ Tvbf(domain==
AF_INET ? " domain=A
F_INET" :
+ domain==
AF_INET6 ? " domain=A
F_INET6" :
" domain=AF_???");
Tvbf(type==SOCK_STREAM ? " type=SOCK_STREAM" : " type=SOCK_DGRAM");
Q_vb();
" domain=AF_???");
Tvbf(type==SOCK_STREAM ? " type=SOCK_STREAM" : " type=SOCK_DGRAM");
Q_vb();