[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/02: web: Avoid deprecated '_IOFBF'.
From: |
Ludovic Courtès |
Subject: |
[Guile-commits] 02/02: web: Avoid deprecated '_IOFBF'. |
Date: |
Fri, 17 Mar 2017 18:38:36 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guile.
commit aa86fcb7d92857ddbd9c0cde40f3d730d4606d62
Author: Ludovic Courtès <address@hidden>
Date: Fri Mar 17 23:37:57 2017 +0100
web: Avoid deprecated '_IOFBF'.
* module/web/client.scm (open-socket-for-uri): Use 'block instead of
_IOFBF.
---
module/web/client.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/web/client.scm b/module/web/client.scm
index ab635c4..0c055ab 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))