From af2d679e1414369f23a2d37a113634b0ac7f38b0 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 22 Aug 2016 15:37:03 -0400 Subject: errors: new alias CURLE_WEIRD_SERVER_REPLY (8) Since we're using CURLE_FTP_WEIRD_SERVER_REPLY in imap, pop3 and smtp as more of a generic "failed to parse" introduce an alias without FTP in the name. Closes https://github.com/curl/curl/pull/975 --- tests/data/test2045 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/data/test2045') diff --git a/tests/data/test2045 b/tests/data/test2045 index 3190f803b..15647d3e7 100644 --- a/tests/data/test2045 +++ b/tests/data/test2045 @@ -19,7 +19,7 @@ In the broken scenario curl would use HTTP to talk to our FTP server. We handle that by replying with something that both protocols can understand. Our FTP server allows a custom welcome message, so we use that feature to make an HTTP reply that contains an FTP reply (think polyglot). In the case of FTP we expect -curl will return CURLE_FTP_WEIRD_SERVER_REPLY so we test for that return code. +curl will return CURLE_WEIRD_SERVER_REPLY so we test for that return code. --> REPLY welcome HTTP/1.1 200 OK\r\nContent-Length: 21\r\n\r\n500 Weird FTP Reply @@ -46,7 +46,7 @@ Set the default protocol to ftp for a schemeless URL # # Verify data after the test has been "shot" -# CURLE_FTP_WEIRD_SERVER_REPLY is error code 8 +# CURLE_WEIRD_SERVER_REPLY is error code 8 8 -- cgit v1.2.3