diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-07 18:41:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-07 18:41:19 -0700 |
commit | def25d140d3e36097fd1596e3100ee105aa7add3 (patch) | |
tree | dbde2f1cccb2a7be872658127d6e5cacb4731811 /stream.c | |
parent | 5ad51d6a6df972d3d596061d3a72851ef1e1d12c (diff) | |
download | txr-def25d140d3e36097fd1596e3100ee105aa7add3.tar.gz txr-def25d140d3e36097fd1596e3100ee105aa7add3.tar.bz2 txr-def25d140d3e36097fd1596e3100ee105aa7add3.zip |
Redundant addr in printed rep of string-input-stream.
* stream.c (string_in_get_prop): Do not format stream address
into name; the general stream_print_op already adds that.
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1573,7 +1573,7 @@ static val string_in_get_prop(val stream, val ind) struct string_in *s = coerce(struct string_in *, stream->co.handle); struct strm_ops *ops = coerce(struct strm_ops *, stream->co.ops); val name = static_str(ops->name); - return format(nil, lit("~a ~s ~p"), name, s->string, stream, nao); + return format(nil, lit("~a ~s"), name, s->string, nao); } return nil; |