Daniel Stenberg
0bc60d91de
copyrights: fix copyright year range
...
.. because checksrc's copyright year check stopped working.
Ref: https://github.com/curl/curl/pull/4547
Closes https://github.com/curl/curl/pull/4549
2019-11-08 14:51:42 +01:00
Jay Satiro
db239c07af
examples/crawler: Fix the Accept-Encoding setting
...
- Pass an empty string to CURLOPT_ACCEPT_ENCODING to use the default
supported encodings.
Prior to this change the specific encodings of gzip and deflate were set
but there's no guarantee they'd be supported by the user's libcurl.
2019-02-12 18:07:29 -05:00
Kruzya
23524bf85b
examples: Fix memory leaks from realloc errors
...
Make sure to not overwrite the reallocated pointer in realloc() calls
to avoid a memleak on memory errors.
2018-09-17 14:07:47 +02:00
Daniel Stenberg
1f6e38e6af
examples/crawler.c: move #ifdef to column 0
...
Apparently the C => HTML converter on the web site doesn't quite like it
otherwise.
Reported-by: Jeroen Ooms
2018-07-11 11:47:21 +02:00
Jeroen Ooms
74e0bde773
example/crawler.c: simple crawler based on libxml2
...
Closes #2706
2018-07-05 15:52:31 +02:00