aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-07 18:24:49 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-07 18:24:49 +0000
commitc669e1ae45fce7e0aae73825ba69d4c2db009f57 (patch)
tree1a8e95fe9e7fdde8cec50445489114808d0e7eda /lib
parent10203cada98918bb9db42a2cb210dc63fb6c1aa3 (diff)
Fixed torture test for test 509
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 8c32f035c..901b1495c 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1318,7 +1318,8 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
result = Curl_setstropt(&data->set.str[STRING_SET_URL],
va_arg(param, char *));
data->change.url = data->set.str[STRING_SET_URL];
- data->change.url_changed = TRUE;
+ if (data->change.url)
+ data->change.url_changed = TRUE;
break;
case CURLOPT_PORT:
/*