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
Update RPM requires
[yaz-moved-to-github.git]
/
src
/
tcpdchk.c
diff --git
a/src/tcpdchk.c
b/src/tcpdchk.c
index
1d83211
..
f984170
100644
(file)
--- a/
src/tcpdchk.c
+++ b/
src/tcpdchk.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-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;
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)))
if ((host = gethostbyaddr((char*)&addr_in->sin_addr,
sizeof(addr_in->sin_addr),
AF_INET)))