summary refs log tree commit diff
path: root/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.h')
-rw-r--r--daemon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon.h b/daemon.h
index 17b1c7f..b8b288b 100644
--- a/daemon.h
+++ b/daemon.h
@@ -51,9 +51,10 @@ static inline int prependAdd(const char *command) {
 	return 0;
 }
 
+enum { LineCap = 512 };
 struct Line {
 	size_t len;
-	char buf[512];
+	char buf[LineCap];
 };
 
 static inline const char *lineFlush(struct Line *line) {