summaryrefslogtreecommitdiff
path: root/docs/examples/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: fix -Wformat warningsMarcel Raad2018-07-091-2/+2
| | | | | | | | | When size_t is not a typedef for unsigned long (as usually the case on Windows), GCC emits -Wformat warnings when using lu and lx format specifiers with size_t. Silence them with explicit casts to unsigned long. Closes https://github.com/curl/curl/pull/2721
* examples: Fix format specifiersRikard Falkeborn2018-05-141-3/+3
| | | | Closes #2561
* code style: use spaces around plusesDaniel Stenberg2017-09-111-9/+11
|
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-6/+6
|
* examples: fix Wimplicit-fallthrough warningsMarcel Raad2017-05-241-0/+1
| | | | This is contained in -Wextra with GCC 7.
* checksrc: stricter no-space-before-paren enforcementDaniel Stenberg2016-12-131-1/+1
| | | | In order to make the code style more uniform everywhere
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-3/+3
| | | | | | | | | | All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* examples: add descriptions with <DESC>Daniel Stenberg2015-06-181-1/+5
| | | | | Using this fixed format for example descriptions, we can generate a better list on the web site.
* Updated date.Guenter Knauf2013-01-301-1/+1
|
* Fixed debug.c to work again unchanged.Guenter Knauf2013-01-291-0/+3
| | | | Added CURLOPT_FOLLOWLOCATION since example.com is now redirected.
* Added error checking for samples.Guenter Knauf2012-07-041-0/+4
|
* sources: update source headersDaniel Stenberg2011-03-101-3/+15
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* examples: fix compiler warningsDaniel Stenberg2010-12-171-2/+2
|
* examples: use example.com in example URLsDaniel Stenberg2010-10-051-1/+1
|
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* docs/example patches for VMSYang Tse2009-06-051-2/+3
|
* Fixed a surprising number of example programs that were passing int argumentsDan Fandrich2008-05-221-1/+1
| | | | to curl_easy_setopt instead of long.
* Michal Marek's cleanup of how curl_easy_setopt() is used in examples andDaniel Stenberg2008-02-271-2/+2
| | | | test code. Thanks to his curl_easy_setopt() typechecker work...
* made the arrow for 'Send SSL data' point in the right direction!Daniel Stenberg2006-10-201-3/+3
|
* debug.c is a fresh new example showing how to use the DEBUGFUNCTION to getDaniel Stenberg2004-08-231-0/+128
lots of fine info from a transfer