diff options
Diffstat (limited to 'src/core/misc.h')
-rw-r--r-- | src/core/misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/misc.h b/src/core/misc.h index 00637da0..9e620169 100644 --- a/src/core/misc.h +++ b/src/core/misc.h @@ -88,8 +88,8 @@ char *stristr_full(const char *data, const char *key); char *ascii_strup(char *str); char *ascii_strdown(char *str); -/* Escape all '"', "'" and '\' chars with '\' */ -char *escape_string(const char *str); +/* Escape all the characters in `what' with a backslash */ +char *escape_string(const char *str, const char *what); /* convert all low-ascii (<32) to ^<A..> combinations */ char *show_lowascii(const char *str); |