download-file: Bug fixes
This commit is contained in:
parent
e406a9f1ee
commit
9caf832822
|
|
@ -74,6 +74,4 @@
|
|||
(error-string (c-bytevector->string error-cbv)))
|
||||
(c-bytevector-free error-cbv)
|
||||
(error error-string url)))
|
||||
(curl-easy-cleanup handle)
|
||||
;(c-bytevector-free file-mode-cbv to-path-cbv to-file-cbv url-cbv)
|
||||
)))
|
||||
(curl-easy-cleanup handle))))
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
|
||||
(define (system command)
|
||||
(let* ((command-cbv (string->c-bytevector command))
|
||||
(result (c-system command-pointer)))
|
||||
(result (c-system command-cbv)))
|
||||
(c-bytevector-free command-cbv)
|
||||
result))
|
||||
|
|
|
|||
Loading…
Reference in New Issue