diff options
Diffstat (limited to '')
-rw-r--r-- | src/libcoopgamma.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcoopgamma.c b/src/libcoopgamma.c index 5762aa5..832e109 100644 --- a/src/libcoopgamma.c +++ b/src/libcoopgamma.c @@ -1473,6 +1473,9 @@ int libcoopgamma_synchronise(libcoopgamma_context_t* restrict ctx, return 0; } *selected = 0; + ctx->bad_message = 0; + ctx->have_all_headers = 0; + ctx->length = 0; ctx->inbound_tail = ctx->curline; return -2; } |