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