summaryrefslogtreecommitdiff
path: root/libguile/socket.c
diff options
context:
space:
mode:
authorNeil Jerram <neil@ossau.uklinux.net>2009-10-01 23:38:57 +0100
committerNeil Jerram <neil@ossau.uklinux.net>2009-10-01 23:38:57 +0100
commit187a43907f75265b504116aa1e96b40d57f4aa88 (patch)
tree547a08b719dac28573545a05d604d6d60c46e47c /libguile/socket.c
parent1ff4da6570d17b7ce5b74b926e8f9f2c99757896 (diff)
Fix doc for inet-ntop: always produces a string
Thanks to Scott McPeak for reporting this. * libguile/socket.c (scm_inet_ntop): In docstring, add quotes around IPv6 address (+ reflow a bit). * doc/ref/posix.texi (Network Address Conversion): Corresponding change. * doc/maint/guile.texi: Corresponding change.
Diffstat (limited to 'libguile/socket.c')
-rw-r--r--libguile/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/socket.c b/libguile/socket.c
index 057470770..ea2ba5ccb 100644
--- a/libguile/socket.c
+++ b/libguile/socket.c
@@ -399,8 +399,8 @@ SCM_DEFINE (scm_inet_ntop, "inet-ntop", 2, 0, 0,
"@var{family} can be @code{AF_INET} or @code{AF_INET6}. E.g.,\n\n"
"@lisp\n"
"(inet-ntop AF_INET 2130706433) @result{} \"127.0.0.1\"\n"
- "(inet-ntop AF_INET6 (- (expt 2 128) 1)) @result{}\n"
- "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\n"
+ "(inet-ntop AF_INET6 (- (expt 2 128) 1))\n"
+ " @result{} \"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\"\n"
"@end lisp")
#define FUNC_NAME s_scm_inet_ntop
{