summaryrefslogtreecommitdiff
path: root/src/core/misc.h
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2017-03-06 11:27:55 +0100
committerGitHub <noreply@github.com>2017-03-06 11:27:55 +0100
commit62fd3ac1804d5d45bc2302ceac9ee9c7ef372e1a (patch)
tree2b052ce59e55739073f92ee8917c7701c2135a23 /src/core/misc.h
parent29f27cfb39a86094af746c1cd654d33436d29479 (diff)
downloadirssi-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.h4
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);