diff options
Diffstat (limited to 'dpi/downloads.cc')
-rw-r--r-- | dpi/downloads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc index d9ccb380..418dbd1b 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -327,7 +327,7 @@ DLItem::DLItem(const char *full_filename, const char *url, DLAction action) /* escape "'" character for the shell. Is it necessary? */ esc_url = Escape_uri_str(url, "'"); /* avoid malicious SMTP relaying with FTP urls */ - if (dStrncasecmp(esc_url, "ftp:/", 5) == 0) + if (dStrnAsciiCasecmp(esc_url, "ftp:/", 5) == 0) Filter_smtp_hack(esc_url); dl_argv = new char*[8]; int i = 0; |