lint: Change misleading variable name.
* guix/scripts/lint.scm (probe-uri) <'ftp>: Rename 'port' to 'conn'.
This commit is contained in:
parent
c90a50eb68
commit
284fe31394
|
@ -259,15 +259,15 @@ response from URI, and additional details, such as the actual HTTP response."
|
||||||
('ftp
|
('ftp
|
||||||
(catch #t
|
(catch #t
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let ((port (ftp-open (uri-host uri) 21)))
|
(let ((conn (ftp-open (uri-host uri) 21)))
|
||||||
(define response
|
(define response
|
||||||
(dynamic-wind
|
(dynamic-wind
|
||||||
(const #f)
|
(const #f)
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(ftp-chdir port (dirname (uri-path uri)))
|
(ftp-chdir conn (dirname (uri-path uri)))
|
||||||
(ftp-size port (basename (uri-path uri))))
|
(ftp-size conn (basename (uri-path uri))))
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(ftp-close port))))
|
(ftp-close conn))))
|
||||||
(values 'ftp-response #t)))
|
(values 'ftp-response #t)))
|
||||||
(lambda (key . args)
|
(lambda (key . args)
|
||||||
(case key
|
(case key
|
||||||
|
|
Loading…
Reference in New Issue