aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-03 13:26:05 +0000
committerYang Tse <yangsita@gmail.com>2007-04-03 13:26:05 +0000
commitbcf0af9ddb9dd0225017805d18a0b0b4a5236f7a (patch)
treeee9d975905f993f6ac5adb82da79376ca559de94 /lib
parent70550a0572d9bf0fb8c808395dd392dd6762d5bb (diff)
recover code simplification lost with last commit
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 10daab687..60fe028fb 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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