projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man/rmm.man: fix error in synopsis: the option is [no]unlink, not [no]link.
[mmh]
/
sbr
/
client.c
diff --git
a/sbr/client.c
b/sbr/client.c
index
a03809e
..
d3374ad
100644
(file)
--- a/
sbr/client.c
+++ b/
sbr/client.c
@@
-60,7
+60,9
@@
client (char *args, char *service, char *response, int len_response, int debug)
}
memset(&hints, 0, sizeof(hints));
}
memset(&hints, 0, sizeof(hints));
+#ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG;
hints.ai_flags = AI_ADDRCONFIG;
+#endif
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;