summaryrefslogtreecommitdiff
path: root/tools/omfwd.c
diff options
context:
space:
mode:
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)) {