projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add CQL to PQF tests with anchoring
[yaz-moved-to-github.git]
/
src
/
tcpdchk.c
diff --git
a/src/tcpdchk.c
b/src/tcpdchk.c
index
1d83211
..
eadb6fc
100644
(file)
--- a/
src/tcpdchk.c
+++ b/
src/tcpdchk.c
@@
-68,7
+68,7
@@
int check_ip_tcpd(void *cd, const char *addr, int len, int type)
struct hostent *host;
struct sockaddr_in *addr_in = (struct sockaddr_in *) addr;
-
+
if ((host = gethostbyaddr((char*)&addr_in->sin_addr,
sizeof(addr_in->sin_addr),
AF_INET)))