Skip to content

Commit 0ffad3c

Browse files
committed
Fix. Use E_WEIRD_SERVER_REPLY as alias for CURLE_FTP_WEIRD_SERVER_REPLY on libcurl<7.51.0.
1 parent 714486c commit 0ffad3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lcerror.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static const lcurl_const_t lcurl_error_codes[] = {
284284
#if LCURL_CURL_VER_GE(7,51,0)
285285
{ "E_FTP_WEIRD_SERVER_REPLY", CURLE_FTP_WEIRD_SERVER_REPLY },
286286
#else
287-
{ "E_WEIRD_SERVER_REPLY", CURLE_WEIRD_SERVER_REPLY },
287+
{ "E_WEIRD_SERVER_REPLY", CURLE_FTP_WEIRD_SERVER_REPLY },
288288
#endif
289289

290290
#define ERR_ENTRY(N) { "E_MULTI_"#N, CURLM_##N },

0 commit comments

Comments
 (0)