From: claudio Date: Tue, 5 Oct 2021 07:22:21 +0000 (+0000) Subject: Remove some extra spaces X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=729fbdcc0e11d689f6bed120b64a0acc59b7544f;p=openbsd Remove some extra spaces --- diff --git a/usr.sbin/rpki-client/http.c b/usr.sbin/rpki-client/http.c index 9c20a964421..67c17f19869 100644 --- a/usr.sbin/rpki-client/http.c +++ b/usr.sbin/rpki-client/http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: http.c,v 1.41 2021/10/05 05:33:46 anton Exp $ */ +/* $OpenBSD: http.c,v 1.42 2021/10/05 07:22:21 claudio Exp $ */ /* * Copyright (c) 2020 Nils Fisher * Copyright (c) 2020 Claudio Jeker @@ -1393,7 +1393,7 @@ again: if (rv == -1) return http_failed(conn); - if (rv == 0) + if (rv == 0) done = 1; } @@ -1425,10 +1425,10 @@ again: * After redirects all data needs to be discarded. */ if (conn->iosz < (off_t)conn->bufpos) { - conn->bufpos -= conn->iosz; + conn->bufpos -= conn->iosz; conn->iosz = 0; } else { - conn->iosz -= conn->bufpos; + conn->iosz -= conn->bufpos; conn->bufpos = 0; } if (conn->chunked)