summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-31 12:54:03 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-31 12:54:03 +0000
commitdd4dedbc38006e09e01ad1ed7f9790a5bc6fce59 (patch)
tree367a3ffef20c89b20a42e9af396564a0d5e7666d /omfwd.c
parentf02c825c9518f576a4447152fd024726193a7dec (diff)
downloadrsyslog-dd4dedbc38006e09e01ad1ed7f9790a5bc6fce59.tar.gz
rsyslog-dd4dedbc38006e09e01ad1ed7f9790a5bc6fce59.tar.xz
rsyslog-dd4dedbc38006e09e01ad1ed7f9790a5bc6fce59.zip
created omtesting, a debug and development aid output module. This is stage
work for the new queueing engine - we need a way to delay rule execution and that's what the module currently does ;)
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omfwd.c b/omfwd.c
index 857ce648..a4a546df 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -417,7 +417,7 @@ CODESTARTdoAction
CHKiRet(UDPSend(pData, psz, l));
} else {
/* forward via TCP */
- int ret;
+ rsRetVal ret;
ret = TCPSend(pData, psz, l, pData->tcp_framing, TCPSendInit, TCPSendFrame, TCPSendPrepRetry);
if(ret != RS_RET_OK) {
/* error! */