summaryrefslogtreecommitdiff
path: root/tools/omfwd.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-03-17 15:01:26 +0100
committerMichael Biebl <biebl@debian.org>2014-03-17 15:01:26 +0100
commit29b51b47d541217c16564ac1f8ecb4a6067c4dad (patch)
tree76016094935576363adcba5658c52ac33b78f5e8 /tools/omfwd.c
parent29867b5cc18d25191fbbdcc4af4f79cc3a4da43e (diff)
downloadrsyslog-29b51b47d541217c16564ac1f8ecb4a6067c4dad.tar.gz
Imported Upstream version 7.6.2upstream/7.6.2
Diffstat (limited to 'tools/omfwd.c')
-rw-r--r--tools/omfwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/omfwd.c b/tools/omfwd.c
index 6e5cf80..e142ca5 100644
--- a/tools/omfwd.c
+++ b/tools/omfwd.c
@@ -376,7 +376,7 @@ static rsRetVal UDPSend(instanceData *pData, char *msg, size_t len)
int i;
unsigned lsent = 0;
sbool bSendSuccess;
- int lasterrno;
+ int lasterrno = ENOENT;
char errStr[1024];
if(pData->iRebindInterval && (pData->nXmit++ % pData->iRebindInterval == 0)) {