summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-21 17:55:11 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-21 17:55:11 +0000
commit99ddbebc8d16b50b992a5a1134f22b5c724427a5 (patch)
treee4f052ab9e9073fb917d2c09180574f903ff99c0 /plugins
parenta237e47abce1a9fc3733059727024022dcf8fe20 (diff)
downloadrsyslog-99ddbebc8d16b50b992a5a1134f22b5c724427a5.tar.gz
rsyslog-99ddbebc8d16b50b992a5a1134f22b5c724427a5.tar.xz
rsyslog-99ddbebc8d16b50b992a5a1134f22b5c724427a5.zip
some more cleanup
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omrelp/omrelp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/omrelp/omrelp.c b/plugins/omrelp/omrelp.c
index 5639bbfa..f498385c 100644
--- a/plugins/omrelp/omrelp.c
+++ b/plugins/omrelp/omrelp.c
@@ -54,10 +54,6 @@ static relpEngine_t *pRelpEngine; /* our relp engine */
typedef struct _instanceData {
char f_hname[MAXHOSTNAMELEN+1];
- enum { /* TODO: we shoud revisit these definitions */
- eDestFORW,
- eDestFORW_UNKN
- } eDestState;
int compressionLevel; /* 0 - no compression, else level for zlib */
char *port;
int bIsConnected; /* currently connected to server? 0 - no, 1 - yes */
@@ -250,9 +246,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1)
if(pData->port == NULL) {
errmsg.LogError(NO_ERRCODE, "Could not get memory to store relp port, "
"using default port, results may not be what you intend\n");
- /* we leave f_forw.port set to NULL, this is then handled by
- * getRelpPt().
- */
+ /* we leave f_forw.port set to NULL, this is then handled by getRelpPt() */
} else {
memcpy(pData->port, tmp, i);
*(pData->port + i) = '\0';