summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-31 16:55:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-31 16:55:09 +0000
commitca77f716a3f0acefecee24a4283b351f0832151d (patch)
tree8d0ac6ab6219b88a1a492e16538aa81367b61b10
parentf47593555554b1aae62a6395d6bf3bb3d2eb61eb (diff)
downloadrsyslog-ca77f716a3f0acefecee24a4283b351f0832151d.tar.gz
rsyslog-ca77f716a3f0acefecee24a4283b351f0832151d.tar.xz
rsyslog-ca77f716a3f0acefecee24a4283b351f0832151d.zip
cleanup
-rw-r--r--tcpsrv.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index adbe26e0..ae5f3371 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -141,32 +141,6 @@ configureTCPListen(tcpsrv_t *pThis, char *cOptarg)
}
-#if 0 // I think this is no longer needed
-static void
-configureTCPListenSessMax(char *cOptarg)
-{
- register int i;
- register char *pArg = cOptarg;
-
- assert(cOptarg != NULL);
-
- /* number of sessions */
- i = 0;
- while(isdigit((int) *pArg)) {
- i = i * 10 + *pArg++ - '0';
- }
-
- if(i > 0)
- pThis->iSessMax = i;
- else {
- /* too small, need to adjust */
- errmsg.LogError(NO_ERRCODE, "TCP session max configured to %s - changing to 1.\n", cOptarg);
- pThis->iSessMax = 1;
- }
-}
-#endif
-
-
/* Initialize the session table
* returns 0 if OK, somewhat else otherwise
*/