fx.collections: update stringstream usage

This commit is contained in:
2026-06-20 15:27:16 +01:00
parent 5156971945
commit 5b16d98e51
+1 -1
View File
@@ -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);