diff options
author | pommicket <pommicket@gmail.com> | 2022-12-30 23:39:27 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-30 23:39:27 -0500 |
commit | 25f6cd6f5ffb9ff34d9e22c38e9d72cdadce2dc9 (patch) | |
tree | 7f731a4098bd08fb0a301b3dfad7159a1a589374 /lsp.c | |
parent | 43bd0763959ecd8f8a835d09190b55ba6fab7d67 (diff) |
basic find usages
Diffstat (limited to 'lsp.c')
-rw-r--r-- | lsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -604,6 +604,7 @@ bool lsp_covers_path(LSP *lsp, const char *path) { void lsp_cancel_request(LSP *lsp, LSPRequestID id) { if (!id) return; + if (!lsp) return; LSPRequest request = {.type = LSP_REQUEST_CANCEL}; request.data.cancel.id = id; |