summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-27 07:10:28 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-27 07:10:28 +0000
commitba3529403c6be671284de62f406fee132f71296f (patch)
tree11cf878e4912b31bddc1c9ba254fa9c21aef6e16 /syslogd.c
parent3e6cb38f8a75e2573498d4f94d0dad70979cada3 (diff)
downloadrsyslog-ba3529403c6be671284de62f406fee132f71296f.tar.gz
rsyslog-ba3529403c6be671284de62f406fee132f71296f.tar.xz
rsyslog-ba3529403c6be671284de62f406fee132f71296f.zip
undone last change - was not a good idea. Designed a smarter interface.
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/syslogd.c b/syslogd.c
index a0eba597..8597d026 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -1412,33 +1412,6 @@ static int srSLMGParseTIMESTAMP3164(struct syslogTime *pTime, char* pszTS)
* END CODE-LIBLOGGING *
*******************************************************************/
-/* find a selector entry based on its ID.
- * rgerhards, 2007-07-26
- */
-static rsRetVal findSelector(int iID, selector_t **ppf)
-{
- selector_t *f;
- selector_t *psFound;
- rsRetVal iRet;
-
- assert(ppf != NULL);
- for(f = Files; f != NULL && psFound == NULL ; f = f->f_next) {
- if(f->iID == iID) {
- psFound = f;
- }
- }
-
- if(psFound != NULL) {
- *ppf = psFound;
- iRet = RS_RET_OK;
- } else {
- iRet = RS_RET_NOT_FOUND;
- }
-
- return iRet;
-}
-
-
/**
* Format a syslogTimestamp into format required by MySQL.
* We are using the 14 digits format. For example 20041111122600