summaryrefslogtreecommitdiff
path: root/lsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lsp.c')
-rw-r--r--lsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lsp.c b/lsp.c
index b1fe8e0..2004bb7 100644
--- a/lsp.c
+++ b/lsp.c
@@ -627,7 +627,7 @@ static int lsp_communication_thread(void *data) {
if (!lsp_receive(lsp, (size_t)10<<20))
break;
if (SDL_SemWaitTimeout(lsp->quit_sem, send_delay_ms) == 0)
- break;
+ break;
}
lsp->exited = true;
@@ -715,7 +715,7 @@ LSP *lsp_create(const LSPSetup *setup) {
lsp->command = str_dup(command);
if (configuration && *configuration)
lsp->configuration_to_send = str_dup(configuration);
- lsp->quit_sem = SDL_CreateSemaphore(0);
+ lsp->quit_sem = SDL_CreateSemaphore(0);
lsp->error_mutex = SDL_CreateMutex();
lsp->messages_mutex = SDL_CreateMutex();