summaryrefslogtreecommitdiffstats
path: root/runtime/nsdsel_gtls.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/nsdsel_gtls.c')
-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 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! */