mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
recover code simplification lost with last commit
This commit is contained in:
parent
70550a0572
commit
bcf0af9ddb
@ -2490,8 +2490,7 @@ static bool tld_check_name(struct SessionHandle *data,
|
|||||||
char *uc_name = NULL;
|
char *uc_name = NULL;
|
||||||
int rc;
|
int rc;
|
||||||
#ifndef CURL_DISABLE_VERBOSE_STRINGS
|
#ifndef CURL_DISABLE_VERBOSE_STRINGS
|
||||||
char nomsg_str[] = "<no msg>";
|
char *tld_errmsg = (char *)"<no msg>";
|
||||||
char *tld_errmsg = nomsg_str;
|
|
||||||
#else
|
#else
|
||||||
(void)data;
|
(void)data;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user