diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-24 18:54:04 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-24 18:54:04 +0200 |
commit | 3f55816a771fe5fcd02b5e2407d328bba770af73 (patch) | |
tree | 565ee3471f7a941d9693fddffa2b751f6800f471 /runtime/nsdsel_gtls.c | |
parent | 9479bedcc25bc27757114f67c1836082da6a2a47 (diff) | |
download | rsyslog-3f55816a771fe5fcd02b5e2407d328bba770af73.tar.gz rsyslog-3f55816a771fe5fcd02b5e2407d328bba770af73.tar.xz rsyslog-3f55816a771fe5fcd02b5e2407d328bba770af73.zip |
gnu error status must be set after retry operation
... otherwise, we check an invalid error state.
Diffstat (limited to 'runtime/nsdsel_gtls.c')
-rw-r--r-- | runtime/nsdsel_gtls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/nsdsel_gtls.c b/runtime/nsdsel_gtls.c index 368c4df3..90117d6c 100644 --- a/runtime/nsdsel_gtls.c +++ b/runtime/nsdsel_gtls.c @@ -149,6 +149,8 @@ doRetry(nsd_gtls_t *pNsd) case gtlsRtry_recv: dbgprintf("retrying gtls recv, nsd: %p\n", pNsd); CHKiRet(gtlsRecordRecv(pNsd)); + pNsd->rtryCall = gtlsRtry_None; /* we are done */ + gnuRet = 0; break; default: assert(0); /* this shall not happen! */ |