diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-03-17 23:37:57 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-17 23:37:57 +0100 |
commit | aa86fcb7d92857ddbd9c0cde40f3d730d4606d62 (patch) | |
tree | 8b6dea931eb2fc9002e30216cccf314e3e87104f /module | |
parent | 011669af3b428e5626f7bbf66b11d57d9768c047 (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.scm | 2 |
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)) |