From eb759982db79a59ec3dbd5212293c49ac4520d08 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 20 Jun 2026 15:27:56 +0100 Subject: [PATCH] fx.serial: update stringstream usage --- fx.serial/test/toml-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fx.serial/test/toml-decode.c b/fx.serial/test/toml-decode.c index 8b2b449..bda2d82 100644 --- a/fx.serial/test/toml-decode.c +++ b/fx.serial/test/toml-decode.c @@ -130,7 +130,7 @@ void write_tagged_datetime(fx_datetime *data) fx_stringstream *new_data = fx_stringstream_create(); fx_datetime_to_string(data, FX_DATETIME_FORMAT_RFC3339, new_data); - fx_stream_write_cstr(fx_stdout, fx_stringstream_ptr(new_data), NULL); + fx_stream_write_cstr(fx_stdout, fx_stringstream_get_cstr(new_data), NULL); fx_stream_write_cstr(fx_stdout, "\" }", NULL);