summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-02 14:10:38 -0500
committerpommicket <pommicket@gmail.com>2023-01-02 14:10:38 -0500
commitf791aa01fad7e81223808584212c6a1a4c80ca07 (patch)
treef93d53a62035cdad7f16b97fb28c83c7acfaf14f /lsp-write.c
parentc0d0117a963cf8e4dfb28b919087d8a8ecbbca6e (diff)
finish restructuring
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp-write.c b/lsp-write.c
index 1a1093c..ecb8527 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -324,7 +324,7 @@ static void message_writer_write_and_free(LSP *lsp, JSONWriter *o) {
#endif
// @TODO: does write always write the full amount? probably not. this should be fixed.
- process_write(&lsp->process, content, strlen(content));
+ process_write(lsp->process, content, strlen(content));
str_builder_free(&builder);
}