summaryrefslogtreecommitdiff
path: root/notmuch-tcp-server
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-tcp-server')
-rw-r--r--notmuch-tcp-server3
1 files changed, 3 insertions, 0 deletions
diff --git a/notmuch-tcp-server b/notmuch-tcp-server
index 328b72c..50ac8be 100644
--- a/notmuch-tcp-server
+++ b/notmuch-tcp-server
@@ -75,6 +75,9 @@ with s as sock:
75 buffer.seek(0) 75 buffer.seek(0)
76 start_index = 0 76 start_index = 0
77 for line in buffer: 77 for line in buffer:
78 if not line.find(b"\n"):
79 break
80
78 start_index += len(line) 81 start_index += len(line)
79 escaped_args = line[:-1].decode() 82 escaped_args = line[:-1].decode()
80 break 83 break