guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 01/01: http: Fix typo in proxy handling in 'write-reques


From: Ludovic Courtès
Subject: [Guile-commits] 01/01: http: Fix typo in proxy handling in 'write-request-line'.
Date: Sat, 11 Nov 2017 09:16:38 -0500 (EST)

civodul pushed a commit to branch stable-2.2
in repository guile.

commit 6ad28ae3bc6a6d9e95ab7d70510d12c97673a143
Author: Ludovic Courtès <address@hidden>
Date:   Sat Nov 11 15:14:54 2017 +0100

    http: Fix typo in proxy handling in 'write-request-line'.
    
    Reported by Mark H Weaver <address@hidden>
    at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00190.html>.
    
    * module/web/http.scm (write-request-line): Fix more typos introduced in
    96b994b6f815747ce2548123cc996d8132bd4781.
---
 module/web/http.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/module/web/http.scm b/module/web/http.scm
index 62f0624..de61c94 100644
--- a/module/web/http.scm
+++ b/module/web/http.scm
@@ -1159,9 +1159,9 @@ three values: the method, the URI, and the version."
         (put-string port "://")
         (cond
          ((string-index host #\:)
-          (put-char #\[ port)
-          (put-string port host
-          (put-char port #\])))
+          (put-char port #\[)
+          (put-string port host)
+          (put-char port #\]))
          (else
           (put-string port host)))
         (unless ((@@ (web uri) default-port?) scheme host-port)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]