diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-08-07 18:24:49 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-08-07 18:24:49 +0000 |
commit | c669e1ae45fce7e0aae73825ba69d4c2db009f57 (patch) | |
tree | 1a8e95fe9e7fdde8cec50445489114808d0e7eda /lib | |
parent | 10203cada98918bb9db42a2cb210dc63fb6c1aa3 (diff) |
Fixed torture test for test 509
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: /* |