diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-01-31 12:04:33 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-01-31 12:04:33 +0000 |
commit | b620e62f0f4e90f4d1338117c67580a6f5f37377 (patch) | |
tree | 75b747c8facdd1b70656dbab4550cad324e95b19 /lib/file.c | |
parent | b3186dee177d277094111939ea9d192e278ea71c (diff) | |
download | curl-b620e62f0f4e90f4d1338117c67580a6f5f37377.tar.gz |
- Dmitry Kurochkin moved several struct fields from the connectdata struct to
the SingleRequest one to make pipelining better. It is a bit tricky to keep
them in the right place, to keep things related to the actual request or to
the actual connection in the right place.
Diffstat (limited to 'lib/file.c')
-rw-r--r-- | lib/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file.c b/lib/file.c index bfc2b015e..1e8374693 100644 --- a/lib/file.c +++ b/lib/file.c @@ -454,7 +454,7 @@ static CURLcode file_do(struct connectdata *conn, bool *done) /* If we have selected NOBODY and HEADER, it means that we only want file information. Which for FILE can't be much more than the file size and date. */ - if(conn->bits.no_body && data->set.include_header && fstated) { + if(data->set.opt_no_body && data->set.include_header && fstated) { CURLcode result; snprintf(buf, sizeof(data->state.buffer), "Content-Length: %" FORMAT_OFF_T "\r\n", expected_size); |