summaryrefslogtreecommitdiff
path: root/src/tool_cb_wrt.h
Commit message (Collapse)AuthorAgeFilesLines
* curl: remove 'config' field from OutStructDaniel Stenberg2020-01-121-2/+3
| | | | | | | | | | | | As it was just unnecessary duplicated information already stored in the 'per_transfer' struct and that's around mostly anyway. The duplicated pointer caused problems when the code flow was aborted before the dupe was filled in and could cause a NULL pointer access. Reported-by: Brian Carpenter Fixes #4807 Closes #4810
* curl -J: do not append to the destination fileDaniel Stenberg2018-12-191-1/+1
| | | | | | Reported-by: Kamil Dudka Fixes #3380 Closes #3381
* whitespace fixesViktor Szakats2018-09-231-1/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* curl: show headers in boldDaniel Stenberg2018-05-211-2/+2
| | | | | | | | | | | | | | | | | | The feature is only enabled if the output is believed to be a tty. -J: There's some minor differences and improvements in -J handling, as now J should work with -i and it actually creates a file first using the initial name and then *renames* that to the one found in Content-Disposition (if any). -i: only shows headers for HTTP transfers now (as documented). Previously it would also show for pieces of the transfer that were HTTP (for example when doing FTP over a HTTP proxy). -i: now shows trailers as well. Previously they were not shown at all. --libcurl: the CURLOPT_HEADER is no longer set, as the header output is now done in the header callback.
* curl: fix callback argument inconsistencyHanno Böck2017-03-291-1/+1
| | | | | | | As you can see the callback definition uses a char* for the first argument, while the function uses a void*. URL: https://curl.haxx.se/mail/lib-2017-03/0116.html
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* src/tool_operate: create output file on successful downloadKamil Dudka2015-04-081-0/+3
| | | | | | ... of an empty file Bug: https://github.com/bagder/curl/issues/183
* curl tool: use configuration files from lib directoryYang Tse2012-04-061-2/+2
| | | | | | | | | | | Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-09-241-0/+33