From 585b67ca5aaf1f8b8402e51c998b2a3beefc7b5b Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 18 May 2012 13:53:45 +1000 Subject: [PATCH] Do not reset the "failed" bit after the error function sets it r3547 | dcl | 2012-05-18 13:53:45 +1000 (Fri, 18 May 2012) | 1 line --- ascon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ascon.c b/ascon.c index 0b27bb0e..fbb417e7 100644 --- a/ascon.c +++ b/ascon.c @@ -359,8 +359,8 @@ int AsconStdHandler(Ascon *a) { } else { if (a->timeout > 0) { if (DoubleTime() - a->start > a->timeout) { - AsconError(a, "read timeout", 0); a->state = AsconTimeout; + AsconError(a, "read timeout", 0); } } }