civodul pushed a commit to branch master
in repository guix.

commit 673e5276f6b4dda4bfa9dd5bb70220fc8b17abd2
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sun Mar 28 22:04:01 2021 +0200

    http-client: Don't drop failed query when reconnecting.
    
    Reported by Christopher Baines <[email protected]>.
    
    * guix/http-client.scm (http-multiple-get): Change 2nd argument to
    'drop' to PROCESSED when (false-if-networking-error ...) returns #f.
---
 guix/http-client.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/http-client.scm b/guix/http-client.scm
index 99bbcca..a2e11a1 100644
--- a/guix/http-client.scm
+++ b/guix/http-client.scm
@@ -250,7 +250,7 @@ returning."
              (#f
               (close-port p)
               (connect #f                         ; try again
-                       (drop requests (+ 1 processed))
+                       (drop requests processed)
                        result)))))))))
 
 

Reply via email to