diff --git a/src/civetweb.c b/src/civetweb.c index 38615e26..070f7c8b 100644 --- a/src/civetweb.c +++ b/src/civetweb.c @@ -6737,8 +6737,8 @@ read_request(FILE *fp, request_len = get_request_len(buf, *nread); - /* first time reading from this connection */ - clock_gettime(CLOCK_MONOTONIC, &last_action_time); + /* first time reading from this connection */ + clock_gettime(CLOCK_MONOTONIC, &last_action_time); while ( (conn->ctx->stop_flag == 0) && (*nread < bufsiz) && (request_len == 0)