Skip to content
Snippets Groups Projects
Commit bcf0af9d authored by Yang Tse's avatar Yang Tse
Browse files

recover code simplification lost with last commit

parent 70550a05
No related branches found
No related tags found
No related merge requests found
......@@ -2490,8 +2490,7 @@ static bool tld_check_name(struct SessionHandle *data,
char *uc_name = NULL;
int rc;
#ifndef CURL_DISABLE_VERBOSE_STRINGS
char nomsg_str[] = "<no msg>";
char *tld_errmsg = nomsg_str;
char *tld_errmsg = (char *)"<no msg>";
#else
(void)data;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment