summaryrefslogtreecommitdiff
path: root/src/tool_sdecls.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-07 21:57:53 +0200
committerYang Tse <yangsita@gmail.com>2012-06-07 21:57:53 +0200
commit7352ac408b6a7b4a1474f52d845fbba70c9644ae (patch)
tree4f4855363470dd2c88c9a53d7079e52298f448f2 /src/tool_sdecls.h
parentc41d959ee6d0a22fa6a7272bd32bf04fec839caf (diff)
downloadcurl-7352ac408b6a7b4a1474f52d845fbba70c9644ae.tar.gz
Fixes allowing HTTP test cases 1338, 1339, 1368 and 1369 to succeed
Diffstat (limited to 'src/tool_sdecls.h')
-rw-r--r--src/tool_sdecls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tool_sdecls.h b/src/tool_sdecls.h
index 7b1297588..da6253604 100644
--- a/src/tool_sdecls.h
+++ b/src/tool_sdecls.h
@@ -34,6 +34,9 @@
* 'alloc_filename' member is TRUE when string pointed by 'filename' has been
* dynamically allocated and 'belongs' to this OutStruct, otherwise FALSE.
*
+ * 'is_cd_filename' member is TRUE when string pointed by 'filename' has been
+ * set using a server-specified Content-Disposition filename, otherwise FALSE.
+ *
* 's_isreg' member is TRUE when output goes to a regular file, this also
* implies that output is 'seekable' and 'appendable' and also that member
* 'filename' points to file name's string. For any standard stream member
@@ -57,6 +60,7 @@
struct OutStruct {
char *filename;
bool alloc_filename;
+ bool is_cd_filename;
bool s_isreg;
bool fopened;
FILE *stream;