summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dispatch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dispatch.c b/dispatch.c
index 3f28e7f..f5a83c6 100644
--- a/dispatch.c
+++ b/dispatch.c
@@ -263,8 +263,10 @@ int main(int argc, char *argv[]) {
 #endif
 			if (error) warn("%s", name);
 
-			len = sendfd(sock, event.ptr[i].fd);
-			if (len < 0) warn("%s", name);
+			if (!error) {
+				len = sendfd(sock, event.ptr[i].fd);
+				if (len < 0) warn("%s", name);
+			}
 
 			close(sock);
 			eventRemove(i);
7e1afac8c030c41581b75d67c3&follow=1'>Use italic for underline in nvim man modeJune McEnroe 2019-02-10Add plain text "language" to hiJune McEnroe 2019-02-10Don't match DQ string inside SQ stringJune McEnroe 2019-02-10Skip only one character if a match fails due to parentJune McEnroe 2019-02-10Remove pattend from hiJune McEnroe 2019-02-10Replace uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML &quot; escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe