From 5b16d98e51a112b2da11570ba74290b28ec2bc81 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 20 Jun 2026 15:27:16 +0100 Subject: [PATCH] fx.collections: update stringstream usage --- fx.collections/test/streams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fx.collections/test/streams.c b/fx.collections/test/streams.c index df74b3c..5f1cf8f 100644 --- a/fx.collections/test/streams.c +++ b/fx.collections/test/streams.c @@ -11,7 +11,7 @@ int main(int argc, const char **argv) fx_stream_read_all_bytes_s(fx_stdin, dest_stream, buf, &nr_read); printf("done. read %zu bytes total.\n", nr_read); - printf("%s\n", fx_stringstream_ptr(dest_stream)); + printf("%s\n", fx_stringstream_get_cstr(dest_stream)); fx_stringstream_unref(dest_stream); fx_stream_buffer_unref(buf);