summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-17 23:37:57 +0100
committerLudovic Courtès <ludo@gnu.org>2017-03-17 23:37:57 +0100
commitaa86fcb7d92857ddbd9c0cde40f3d730d4606d62 (patch)
tree8b6dea931eb2fc9002e30216cccf314e3e87104f /module
parent011669af3b428e5626f7bbf66b11d57d9768c047 (diff)
web: Avoid deprecated '_IOFBF'.
* module/web/client.scm (open-socket-for-uri): Use 'block instead of _IOFBF.
Diffstat (limited to 'module')
-rw-r--r--module/web/client.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/client.scm b/module/web/client.scm
index ab635c478..0c055abe9 100644
--- a/module/web/client.scm
+++ b/module/web/client.scm
@@ -218,7 +218,7 @@ host name without trailing dot."
(with-https-proxy
(let ((s (open-socket)))
;; Buffer input and output on this port.
- (setvbuf s _IOFBF %http-receive-buffer-size)
+ (setvbuf s 'block %http-receive-buffer-size)
(if https?
(tls-wrap s (uri-host uri))