summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-16 14:53:12 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-16 14:53:12 +0200
commit770b709654b5d10485480645acbe710e767db6bd (patch)
treecec0895394522553ade08732f4b21e319d6ca868 /runtime
parentc70d3cec69b0d00d0dbee26c451b61e81e9d91c8 (diff)
downloadrsyslog-770b709654b5d10485480645acbe710e767db6bd.tar.gz
rsyslog-770b709654b5d10485480645acbe710e767db6bd.tar.xz
rsyslog-770b709654b5d10485480645acbe710e767db6bd.zip
fixed potential uninitialzed var access (highly improbable)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/nsdsel_gtls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/nsdsel_gtls.c b/runtime/nsdsel_gtls.c
index 24c074f6..daa38929 100644
--- a/runtime/nsdsel_gtls.c
+++ b/runtime/nsdsel_gtls.c
@@ -135,6 +135,8 @@ doRetry(nsd_gtls_t *pNsd)
break;
default:
assert(0); /* this shall not happen! */
+ dbgprintf("ERROR: pNsd->rtryCall invalid in nsdsel_gtls.c:%d\n", __LINE__);
+ gnuRet = 0; /* if it happens, we have at least a defined behaviour... ;) */
break;
}