Fix some logging nits.
This commit is contained in:
parent
7460d8009f
commit
05f6e48d8a
|
@ -88,11 +88,11 @@
|
|||
|
||||
(define (log-command level command-name . argument)
|
||||
(if (null? argument)
|
||||
(log level "handling ~A-command" command-name)
|
||||
(log level "handling ~A command" command-name)
|
||||
(if (not (null? (cdr argument)))
|
||||
(log level "handling ~A-command with argument ~S"
|
||||
(log level "handling ~A command with argument ~S"
|
||||
command-name argument)
|
||||
(log level "handling ~A-command with argument ~S" ; does this ever happen?
|
||||
(log level "handling ~A command with argument ~S" ; does this ever happen?
|
||||
command-name (car argument)))))
|
||||
|
||||
;; Extended logging like wu.ftpd:
|
||||
|
@ -944,7 +944,7 @@
|
|||
(register-reply! 226 "Closing data connection."))
|
||||
|
||||
(define (handle-retr path)
|
||||
(log-command (syslog-level info) "RETR")
|
||||
(log-command (syslog-level info) "RETR" path)
|
||||
(ensure-authenticated-login)
|
||||
(let ((full-path (string-append (session-root-directory)
|
||||
(assemble-path (session-current-directory)
|
||||
|
@ -1218,7 +1218,7 @@
|
|||
|
||||
; Version
|
||||
|
||||
(define *ftpd-version* "$Revision: 1.5 $")
|
||||
(define *ftpd-version* "$Revision: 1.6 $")
|
||||
|
||||
(define (copy-port->port-binary input-port output-port)
|
||||
(let ((buffer (make-string *window-size*)))
|
||||
|
|
Loading…
Reference in New Issue