aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/curlx.c
AgeCommit message (Collapse)Author
2018-09-17examples: Fix memory leaks from realloc errorsKruzya
Make sure to not overwrite the reallocated pointer in realloc() calls to avoid a memleak on memory errors.
2018-06-03spelling fixesViktor Szakats
Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL.
2018-03-16cleanup: misc typos in strings and commentsluz.paz
Found via `codespell` Closes #2389
2017-11-18examples/curlx: Fix code stylefmmedeiros
- Add braces around multi-line if statement. Closes https://github.com/curl/curl/pull/2096
2017-09-11code style: use spaces around plusesDaniel Stenberg
2017-09-11code style: use spaces around equals signsDaniel Stenberg
2017-03-26spelling fixesklemens
Closes #1356
2016-12-14checksrc: warn for assignments within if() expressionsDaniel Stenberg
... they're already frowned upon in our source code style guide, this now enforces the rule harder.
2016-12-13checksrc: stricter no-space-before-paren enforcementDaniel Stenberg
In order to make the code style more uniform everywhere
2016-11-24checksrc: code style: use 'char *name' styleDaniel Stenberg
2016-04-03docs/examples: remove spurious white spaces all overDaniel Stenberg
... to please the new, slightly picker, checksrc.pl
2016-03-06curlx.c: use more curl style codeDaniel Stenberg
2016-02-17curlx.c: i2s_ASN1_IA5STRING() clashes with an openssl functionDaniel Stenberg
Reported-By: Gisle Vanem
2016-02-11examples: adhere to curl code styleDaniel Stenberg
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.
2016-02-02URLs: change more http to httpsViktor Szakats
2015-06-18examples: more descriptionsDaniel Stenberg
2015-06-08docs: Spelling fixesVille Skyttä
2012-01-04OpenSSL: remove reference to openssl internal structPeter Sylvester
With this change, curl compiles with the new OPENSSL_NO_SSL_INTERN cflag. This flag might become the default in some distant future.
2010-02-14removed trailing whitespaceYang Tse
2010-01-04use the modern name for this optionDaniel Stenberg
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-09-06remove unnecessary typecasting of realloc()Yang Tse
2008-05-22Fixed a surprising number of example programs that were passing int argumentsDan Fandrich
to curl_easy_setopt instead of long.
2007-07-12Fixed some compile warnings and errors and improved portability in theDan Fandrich
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
2006-10-29Compiler warning fixYang Tse
2004-11-22re-indented to curl styleDaniel Stenberg
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2003-10-03Peter Sylvester's curlx.c code example addedDaniel Stenberg