summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-23 13:45:28 -0400
committerJune McEnroe <june@causal.agency>2020-03-23 13:45:28 -0400
commit7ea1a416a1114085b272537b2b1b0f0d1fd3fd42 (patch)
tree45c1afe2b8713d7649bdc35968d9ff8e081c4b26
parentAssume worst case for unknown user and host in splitMessage (diff)
downloadcatgirl-7ea1a416a1114085b272537b2b1b0f0d1fd3fd42.tar.gz
catgirl-7ea1a416a1114085b272537b2b1b0f0d1fd3fd42.zip
Bump edit buffer cap to 1024
With message splitting it's reasonable to allow this to be larger.
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index a0ec333..720d7fd 100644
--- a/edit.c
+++ b/edit.c
@@ -24,7 +24,7 @@
 
 #include "chat.h"
 
-enum { Cap = 512 };
+enum { Cap = 1024 };
 static wchar_t buf[Cap];
 static size_t len;
 static size_t pos;
Don't install rc.kfcgi eitherJune McEnroe 2019-03-28Remove rc.kfcgiJune McEnroe 2019-01-16Reformat index.html with explore linkJune McEnroe 2019-01-16Return false from keydown handler in exploreJune McEnroe 2019-01-08Draw lines to tile edgeJune McEnroe 2019-01-08Factor out default pathsJune McEnroe 2019-01-08Remove incorrect default coordinatesJune McEnroe 2019-01-07Set img src when explore fragment changesJune McEnroe 2019-01-07Compress PNG data in imageJune McEnroe 2019-01-07madvise MADV_NOCORE in imageJune McEnroe 2019-01-07Add license notice to explore JavaScriptJune McEnroe 2019-01-07Add Q/Home binding in exploreJune McEnroe 2019-01-07Fix explore image URLJune McEnroe 2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe 2019-01-06Add meta viewport to exploreJune McEnroe 2019-01-06Set background and max-width in exploreJune McEnroe 2019-01-06Swallow writes after the connection is closedJune McEnroe 2019-01-06Handle KCGI_HUPJune McEnroe 2019-01-06Install html filesJune McEnroe