Commit bcf0af9d authored by Yang Tse's avatar Yang Tse
Browse files

recover code simplification lost with last commit

parent 70550a05
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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