diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-03-01 06:04:54 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-03-01 06:04:54 -0800 |
commit | 4d307415d34176be4093bfb1536cc9a175430b20 (patch) | |
tree | 7740cc2147233a621f59cd36a70368f82781ec32 /stream.c | |
parent | 26a58a0d7fc48b9e609808593c830d74b15750b5 (diff) | |
download | txr-4d307415d34176be4093bfb1536cc9a175430b20.tar.gz txr-4d307415d34176be4093bfb1536cc9a175430b20.tar.bz2 txr-4d307415d34176be4093bfb1536cc9a175430b20.zip |
Fix triple-colon in ipv6 text representation.
* share/txr/stdlib/socket.tl (sys:in6addr-condensed-text): New
function containing common code. Uses window-mappend to
selectively convert a compressed range of zeros to either
colon or empty string based on whether it is in the middle
or end.
(str-in6addr, str-in6addr-net): Use new function.
Diffstat (limited to 'stream.c')
0 files changed, 0 insertions, 0 deletions