diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-03-06 11:27:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 11:27:55 +0100 |
commit | 62fd3ac1804d5d45bc2302ceac9ee9c7ef372e1a (patch) | |
tree | 2b052ce59e55739073f92ee8917c7701c2135a23 /src/core/misc.h | |
parent | 29f27cfb39a86094af746c1cd654d33436d29479 (diff) | |
download | irssi-62fd3ac1804d5d45bc2302ceac9ee9c7ef372e1a.zip |
Revert "Quote the filename when dcc requests are auto accepted."
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 9e620169..00637da0 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 the characters in `what' with a backslash */ -char *escape_string(const char *str, const char *what); +/* Escape all '"', "'" and '\' chars with '\' */ +char *escape_string(const char *str); /* convert all low-ascii (<32) to ^<A..> combinations */ char *show_lowascii(const char *str); |