Loading lib/url.c +1 −6 Original line number Diff line number Diff line Loading @@ -2490,10 +2490,7 @@ static bool tld_check_name(struct SessionHandle *data, char *uc_name = NULL; int rc; #ifndef CURL_DISABLE_VERBOSE_STRINGS char *tld_errmsg; #ifndef HAVE_TLD_STRERROR char no_msg[] = "<no msg>"; #endif char *tld_errmsg = "<no msg>"; #else (void)data; #endif Loading @@ -2508,8 +2505,6 @@ static bool tld_check_name(struct SessionHandle *data, if (rc != TLD_SUCCESS) #ifdef HAVE_TLD_STRERROR tld_errmsg = (char *)tld_strerror((Tld_rc)rc); #else tld_errmsg = no_msg; #endif if (rc == TLD_INVALID) infof(data, "WARNING: %s; pos %u = `%c'/0x%02X\n", Loading Loading
lib/url.c +1 −6 Original line number Diff line number Diff line Loading @@ -2490,10 +2490,7 @@ static bool tld_check_name(struct SessionHandle *data, char *uc_name = NULL; int rc; #ifndef CURL_DISABLE_VERBOSE_STRINGS char *tld_errmsg; #ifndef HAVE_TLD_STRERROR char no_msg[] = "<no msg>"; #endif char *tld_errmsg = "<no msg>"; #else (void)data; #endif Loading @@ -2508,8 +2505,6 @@ static bool tld_check_name(struct SessionHandle *data, if (rc != TLD_SUCCESS) #ifdef HAVE_TLD_STRERROR tld_errmsg = (char *)tld_strerror((Tld_rc)rc); #else tld_errmsg = no_msg; #endif if (rc == TLD_INVALID) infof(data, "WARNING: %s; pos %u = `%c'/0x%02X\n", Loading