fx.serial: update stringstream usage

This commit is contained in:
2026-06-20 15:27:56 +01:00
parent 0ee94af705
commit eb759982db
+1 -1
View File
@@ -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);