escape: add an explanatory comment about buffer sizes

This commit is contained in:
Lennart Poettering 2018-06-01 21:45:06 +02:00
parent 92f14395cd
commit 76a359736f

View 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':