summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-28 18:46:33 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-28 18:46:33 +0000
commitdad51192651dda011597252ddf8fb64ff28e2ec4 (patch)
tree985b1082602c09bcfc10faf6b6fe74798e5d1abd
parent604f2459c25d32fb4ae70b9bb9b5207388c6d5d8 (diff)
downloadrsyslog-dad51192651dda011597252ddf8fb64ff28e2ec4.tar.gz
rsyslog-dad51192651dda011597252ddf8fb64ff28e2ec4.tar.xz
rsyslog-dad51192651dda011597252ddf8fb64ff28e2ec4.zip
fixed missing conditional compilation (cosmetic issue)
-rw-r--r--tcpsyslog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcpsyslog.c b/tcpsyslog.c
index 2527b2e3..c7693102 100644
--- a/tcpsyslog.c
+++ b/tcpsyslog.c
@@ -420,7 +420,9 @@ int TCPSessAccept(int fd)
uchar fromHost[NI_MAXHOST];
uchar fromHostFQDN[NI_MAXHOST];
char *pBuf;
+#ifdef USE_GSSAPI
char allowedMethods = 0;
+#endif
newConn = accept(fd, (struct sockaddr*) &addr, &addrlen);
if (newConn < 0) {