Skip to content

Commit 67d525b

Browse files
committed
Merge pull request #130 from anwyn/http-request-port-fix
Fix HTTP port default value.
2 parents b9034eb + 8c630cd commit 67d525b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quicklisp/http.lisp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ the indexes in the header accordingly."
681681
(defgeneric request-buffer (method url)
682682
(:method (method url)
683683
(setf url (url url))
684-
(make-request-buffer (hostname url) (port url) (or (path url) 80)
684+
(make-request-buffer (hostname url) (or (port url) 80) (path url)
685685
:method method)))
686686

687687
(defun urlstring (url)
@@ -802,7 +802,7 @@ the indexes in the header accordingly."
802802
(if call
803803
(apply call (urlstring url) file rest)
804804
(error "Unknow scheme ~S" url))))
805-
805+
806806
(defun http-fetch (url file &key (follow-redirects t) quietly
807807
(if-exists :rename-and-delete)
808808
(maximum-redirects *maximum-redirects*))

0 commit comments

Comments
 (0)