projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75fff8a
)
Avoid warning when GNUTLS is not in use
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 8 May 2015 11:13:55 +0000
(13:13 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 8 May 2015 11:13:55 +0000
(13:13 +0200)
src/tcpip.c
patch
|
blob
|
history
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
4f4fd48
..
f679637
100644
(file)
--- a/
src/tcpip.c
+++ b/
src/tcpip.c
@@
-1019,7
+1019,9
@@
COMSTACK tcpip_accept(COMSTACK h)
TRC(fprintf(stderr, "tcpip_accept h=%p pid=%d\n", h, getpid()));
if (h->state == CS_ST_INCON)
{
+#if HAVE_GNUTLS_H
tcpip_state *st = (tcpip_state *)h->cprivate;
+#endif
tcpip_state *state = tcpip_state_create();
cnew = (COMSTACK) xmalloc(sizeof(*cnew));