* bug#54147: [PATCH] doc: fix web (run-server) examples
@ 2022-02-24 20:21 Aleix Conchillo Flaqué
0 siblings, 0 replies; only message in thread
From: Aleix Conchillo Flaqué @ 2022-02-24 20:21 UTC (permalink / raw)
To: 54147; +Cc: Aleix Conchillo Flaqué
* doc/ref/web.texi (Web Server): need quasiquote to in order to evaluate
AF_INET6.
---
doc/ref/web.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/ref/web.texi b/doc/ref/web.texi
index 93cd0214f..49a09d0ca 100644
--- a/doc/ref/web.texi
+++ b/doc/ref/web.texi
@@ -1,6 +1,6 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020 Free Software Foundation, Inc.
+@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020, 2022 Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@node Web
@@ -1822,7 +1822,7 @@ implementation's open function.
;; On a different port
(run-server handler 'http '(#:port 8081))
;; IPv6
-(run-server handler 'http '(#:family AF_INET6 #:port 8081))
+(run-server handler 'http `(#:family ,AF_INET6 #:port 8081))
;; Custom socket
(run-server handler 'http `(#:socket ,(sudo-make-me-a-socket)))
@end example
--
2.35.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-24 20:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-24 20:21 bug#54147: [PATCH] doc: fix web (run-server) examples Aleix Conchillo Flaqué
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).