From 62fd3ac1804d5d45bc2302ceac9ee9c7ef372e1a Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Mon, 6 Mar 2017 11:27:55 +0100 Subject: Revert "Quote the filename when dcc requests are auto accepted." --- src/core/misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/misc.h') 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 ^ combinations */ char *show_lowascii(const char *str); -- cgit v1.2.3