summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
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);
}