chiark / gitweb /
escape: add an explanatory comment about buffer sizes
[elogind.git] / src / basic / escape.c
index dc302364e4c4471d5b40709b862a3281f646eb81..98b4bdf18c37d49976292a54112eb50d3557aa63 100644 (file)
@@ -18,6 +18,8 @@
 int cescape_char(char c, char *buf) {
         char *buf_old = buf;
 
+        /* Needs space for 4 characters in the buffer */
+
         switch (c) {
 
                 case '\a':