diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-31 16:55:09 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-31 16:55:09 +0000 |
commit | ca77f716a3f0acefecee24a4283b351f0832151d (patch) | |
tree | 8d0ac6ab6219b88a1a492e16538aa81367b61b10 /tcpsrv.c | |
parent | f47593555554b1aae62a6395d6bf3bb3d2eb61eb (diff) | |
download | rsyslog-ca77f716a3f0acefecee24a4283b351f0832151d.tar.gz rsyslog-ca77f716a3f0acefecee24a4283b351f0832151d.tar.xz rsyslog-ca77f716a3f0acefecee24a4283b351f0832151d.zip |
cleanup
Diffstat (limited to 'tcpsrv.c')
-rw-r--r-- | tcpsrv.c | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -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 */ |