escape: add an explanatory comment about buffer sizes
This commit is contained in:
parent
92f14395cd
commit
76a359736f
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue