Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed trailing whitespace

  • Loading branch information...
commit a07bc79117971b96ebf3188c0a34a73ee0a3609b 1 parent 2268657
@yangtse yangtse authored
Showing with 673 additions and 669 deletions.
  1. +15 −15 CHANGES
  2. +57 −57 CHANGES.0
  3. +7 −7 CMake/CheckTypeSize.cmake
  4. +1 −1  CMake/CurlTests.c
  5. +4 −4 CMake/OtherTests.cmake
  6. +4 −4 CVS-INFO
  7. +7 −7 MacOSX-Framework
  8. +32 −32 acinclude.m4
  9. +4 −4 docs/BUGS
  10. +2 −2 docs/CONTRIBUTE
  11. +1 −1  docs/DISTRO-DILEMMA
  12. +3 −3 docs/FAQ
  13. +4 −4 docs/FEATURES
  14. +15 −15 docs/INSTALL
  15. +7 −7 docs/INSTALL.cmake
  16. +6 −6 docs/INSTALL.devcpp
  17. +6 −6 docs/INTERNALS
  18. +2 −2 docs/KNOWN_BUGS
  19. +14 −14 docs/MANUAL
  20. +6 −6 docs/README.cmake
  21. +7 −7 docs/README.netware
  22. +4 −4 docs/README.win32
  23. +9 −9 docs/RESOURCES
  24. +1 −1  docs/SSLCERTS
  25. +5 −5 docs/TODO
  26. +3 −3 docs/TheArtOfHttpScripting
  27. +5 −5 docs/VERSIONS
  28. +4 −4 docs/curl-config.1
  29. +1 −1  docs/curl.1
  30. +4 −4 docs/examples/Makefile.example
  31. +2 −2 docs/examples/chkspeed.c
  32. +3 −3 docs/examples/cookie_interface.c
  33. +1 −1  docs/examples/curlx.c
  34. +2 −2 docs/examples/ftpgetinfo.c
  35. +4 −4 docs/examples/multi-double.c
  36. +1 −1  docs/examples/multi-post.c
  37. +1 −1  docs/examples/sampleconv.c
  38. +3 −3 docs/libcurl/curl_easy_getinfo.3
  39. +1 −1  docs/libcurl/curl_easy_init.3
  40. +2 −2 docs/libcurl/curl_easy_send.3
  41. +1 −1  docs/libcurl/curl_easy_setopt.3
  42. +1 −1  docs/libcurl/curl_formadd.3
  43. +1 −1  docs/libcurl/curl_formget.3
  44. +1 −1  docs/libcurl/curl_free.3
  45. +1 −1  docs/libcurl/curl_multi_socket_action.3
  46. +1 −1  docs/libcurl/curl_share_setopt.3
  47. +5 −5 docs/libcurl/libcurl-tutorial.3
  48. +1 −1  docs/libcurl/symbols-in-versions
  49. +4 −4 include/README
  50. +1 −1  include/curl/curlrules.h
  51. +7 −7 include/curl/stdcheaders.h
  52. +5 −5 install-sh
  53. +1 −1  lib/CMakeLists.txt
  54. +1 −1  lib/Makefile.am
  55. +1 −1  lib/Makefile.riscos
  56. +2 −2 lib/Makefile.vxworks
  57. +5 −5 lib/README.ares
  58. +4 −4 lib/README.curlx
  59. +3 −3 lib/README.encoding
  60. +4 −4 lib/README.memoryleak
  61. +14 −12 lib/arpa_telnet.h
  62. +2 −2 lib/curl_addrinfo.h
  63. +9 −9 lib/curl_md5.h
  64. +2 −2 lib/curl_sspi.h
  65. +1 −1  lib/curl_threads.c
  66. +3 −3 lib/firefox-db2pem.sh
  67. +9 −9 lib/getinfo.h
  68. +2 −2 lib/hostip4.c
  69. +12 −12 lib/http_negotiate.h
  70. +3 −3 lib/mk-ca-bundle.pl
  71. +2 −2 lib/netrc.c
  72. +10 −9 lib/netrc.h
  73. +5 −5 lib/setup-os400.h
  74. +3 −3 lib/setup.h
  75. +9 −9 lib/speedcheck.h
  76. +9 −10 lib/strdup.h
  77. +9 −10 lib/strtok.h
  78. +5 −6 lib/strtoofft.h
  79. +2 −2 maketgz
  80. +6 −6 packages/AIX/RPM/README
  81. +7 −7 packages/AIX/RPM/curl.spec.in
  82. +2 −2 packages/Linux/RPM/curl-ssl.spec.in
  83. +1 −1  packages/Linux/RPM/curl.spec.in
  84. +1 −1  packages/Makefile.am
  85. +6 −6 packages/README
  86. +2 −2 packages/Symbian/group/curl.iby
  87. +1 −1  packages/Symbian/group/libcurl.mmp
  88. +1 −1  packages/Symbian/readme.txt
  89. +2 −1  packages/TPF/maketpf.env_curl
  90. +6 −4 packages/TPF/maketpf.env_curllib
  91. +1 −1  packages/Win32/cygwin/Makefile.am
  92. +10 −10 packages/Win32/cygwin/README
  93. +10 −10 packages/vms/build_vms.com
  94. +1 −1  packages/vms/config-vms.h
  95. +1 −1  packages/vms/curlmsg.h
  96. +11 −11 packages/vms/curlmsg.msg
  97. +13 −13 packages/vms/curlmsg.sdl
  98. +4 −4 perl/README
  99. +4 −4 perl/contrib/checklinks.pl.in
  100. +9 −9 perl/contrib/crawlink.pl
  101. +7 −7 perl/contrib/formfind
  102. +3 −3 perl/contrib/getlinks.pl.in
  103. +1 −1  src/CMakeLists.txt
  104. +1 −1  src/Makefile.inc
  105. +1 −1  src/Makefile.riscos
  106. +3 −3 src/getpass.c
  107. +9 −9 src/homedir.h
  108. +10 −9 src/hugehelp.h
  109. +1 −1  src/mkhelp.pl
  110. +7 −7 src/setup.h
  111. +9 −9 src/version.h
  112. +9 −9 src/writeenv.h
  113. +9 −9 src/writeout.h
  114. +5 −5 tests/README
  115. +4 −4 tests/certs/scripts/genroot.sh
  116. +7 −7 tests/certs/scripts/genserv.sh
  117. +19 −19 tests/ftpserver.pl
  118. +1 −1  tests/getpart.pm
  119. +2 −2 tests/libtest/CMakeLists.txt
  120. +2 −2 tests/libtest/Makefile.am
  121. +1 −1  tests/libtest/lib502.c
  122. +3 −3 tests/libtest/lib507.c
  123. +4 −4 tests/libtest/lib518.c
  124. +2 −2 tests/libtest/lib526.c
  125. +2 −2 tests/libtest/lib530.c
  126. +2 −2 tests/libtest/lib533.c
  127. +1 −1  tests/libtest/lib536.c
  128. +4 −4 tests/libtest/lib537.c
  129. +1 −1  tests/libtest/lib556.c
  130. +1 −1  tests/libtest/lib558.c
  131. +1 −1  tests/libtest/test1013.pl
  132. +1 −1  tests/libtest/test1022.pl
  133. +1 −1  tests/libtest/test307.pl
  134. +1 −1  tests/libtest/test610.pl
  135. +1 −1  tests/libtest/test613.pl
  136. +1 −1  tests/libtest/test75.pl
  137. +4 −4 tests/memanalyze.pl
  138. +2 −2 tests/runtests.pl
  139. +6 −6 tests/server/CMakeLists.txt
  140. +2 −2 tests/testcurl.1
  141. +2 −2 tests/valgrind.pm
View
30 CHANGES
@@ -14,7 +14,7 @@ Daniel Stenberg (13 Feb 2010)
- Martin Hager reported and fixed a problem with a missing quote in libcurl.m4
(http://curl.haxx.se/bug/view.cgi?id=2951319)
-
+
- Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake.
(http://curl.haxx.se/bug/view.cgi?id=2951269)
@@ -244,7 +244,7 @@ Daniel Stenberg (26 Dec 2009)
Daniel Stenberg (17 Dec 2009)
- David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when
available.
-
+
- Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I
was a bit too quick and broke test case 1101 with that change. The order of
some of the setups is sensitive. I now changed it slightly again to make
@@ -435,7 +435,7 @@ Daniel Stenberg (11 Nov 2009)
in the DNS cache would linger too long if the request that added it was in
use that long. He also provided the patch that now makes libcurl capable of
still doing a request while the DNS hash entry may get timed out.
-
+
- Christian Schmitz noticed that the progress meter/callback was not properly
used during the FTP connection phase (after the actual TCP connect), while
it of course should be. I also made the speed check get called correctly so
@@ -530,7 +530,7 @@ Daniel Stenberg (1 Oct 2009)
him grief. This is a regression that was introduced in 7.19.1 and I find it
strange it hasn't hit us harder, but I won't persue into figuring out
exactly why.
-
+
- Constantine Sapuntzakis: The current implementation will always set
SO_SNDBUF to CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger. The
patch doesn't do a setsockopt if SO_SNDBUF is already greater than
@@ -564,7 +564,7 @@ Daniel Stenberg (25 Sep 2009)
(http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used
the OpenSSL function X509_load_crl_file() wrongly and failed if it would
load a CRL file with more than one certificate within. This is now fixed.
-
+
Daniel Stenberg (16 Sep 2009)
- Sven Anders reported that we introduced a cert verfication flaw for OpenSSL-
powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name
@@ -787,7 +787,7 @@ Michal Marek (15 Jul 2009)
Guenter Knauf (14 Jul 2009)
- renamed generated config.h to curl_config.h to avoid any future clashes
with config.h from other projects.
-
+
Daniel Stenberg (9 Jul 2009)
- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
setting a file descriptor non-blocking. Used by the functionality Eric
@@ -1239,7 +1239,7 @@ Yang Tse (2 Apr 2009)
Daniel Stenberg (1 Apr 2009)
- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
- strdup() call failed.
+ strdup() call failed.
Daniel Fandrich (31 Mar 2009)
- Properly return an error code in curl_easy_recv (reported by Jim Freeman).
@@ -1248,7 +1248,7 @@ Daniel Stenberg (18 Mar 2009)
- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
explicitly.
-
+
Daniel Stenberg (13 Mar 2009)
- Use libssh2_version() to present the libssh2 version in case the libssh2
library is found to support it.
@@ -1268,8 +1268,8 @@ Yang Tse (11 Mar 2009)
reported by Pierre Brico.
Daniel Stenberg (9 Mar 2009)
-- Frank Hempel found out a bug and provided the fix:
-
+- Frank Hempel found out a bug and provided the fix:
+
curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE
option. It only enabled the cookie engine in the destination handle if
data->cookies is not NULL (where data is the source handle). In case of a
@@ -1288,7 +1288,7 @@ Daniel Stenberg (9 Mar 2009)
checkouts who don't do cvs update with the -d option won't get the new dirs
and then will get funny outputs that can be a bit hard to understand and
fix.
-
+
Daniel Stenberg (8 Mar 2009)
- Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
allocation of the memory BIO was not being properly checked.
@@ -1361,7 +1361,7 @@ Daniel Stenberg (25 Feb 2009)
just to avoid it to fail very early when libgcrypt dislikes the situation,
but that move was bad and the fix should rather be in libgcrypt or
elsewhere.
-
+
Daniel Stenberg (24 Feb 2009)
- Brian J. Murrell found out that Negotiate proxy authentication didn't work.
It happened because the code used the struct for server-based auth all the
@@ -1395,7 +1395,7 @@ Daniel Stenberg (20 Feb 2009)
necessary to get read in ftp_done().
Daniel Stenberg (19 Feb 2009)
-- Patrik Thunstrom reported a problem and helped me repeat it. It turned out
+- Patrik Thunstrom reported a problem and helped me repeat it. It turned out
libcurl did a superfluous 1000ms wait when doing SFTP downloads!
We read data with libssh2 while doing the "DO" operation for SFTP and then
@@ -1525,7 +1525,7 @@ Daniel Stenberg (26 Jan 2009)
- Alexey Borzov filed bug report #2535504
(http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with
- quoted quotation marks in HTTP Digest headers didn't work. I've now added
+ quoted quotation marks in HTTP Digest headers didn't work. I've now added
test case 1095 that verifies my fix.
- Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
@@ -1676,7 +1676,7 @@ Daniel Stenberg (29 Dec 2008)
Daniel Stenberg (28 Dec 2008)
- Peter Korsgaard fixed building libcurl with "configure --with-ssl
--disable-verbose".
-
+
- Anthony Bryan fixed more language and spelling flaws in man pages.
Daniel Stenberg (22 Dec 2008)
View
114 CHANGES.0
@@ -2022,14 +2022,14 @@ Daniel S (22 October 2007)
at connection cleanup, at which time the struct HandleData could be
used by another connection.
Also, the unused char *urlpath member is removed from struct FTP.
-
+
#2 - provide a Curl_reset_reqproto() function that frees
data->reqdata.proto.* on connection setup if needed (that is if the
SessionHandle was used by a different connection).
A long-term goal is of course to somehow get rid of how the reqdata struct
is used, as it is too error-prone.
-
+
- Bug report #1815530 (http://curl.haxx.se/bug/view.cgi?id=1815530) points out
that specifying a proxy with a trailing slash didn't work (unless it also
contained a port number).
@@ -2125,7 +2125,7 @@ Daniel S (26 September 2007)
method to GET in the subsequent request (like it does for response code 302
- because that's what many/most browsers do), but with this CURLOPT_POST301
option enabled it will do what the spec says and do the next request using
- the same method again. I.e keep POST after 301.
+ the same method again. I.e keep POST after 301.
The curl tool got this option as --post301
@@ -2272,11 +2272,11 @@ Dan F (30 August 2007)
CURLE_FTP_QUOTE_ERROR => CURLE_QUOTE_ERROR
CURLE_TFTP_DISKFULL => CURLE_REMOTE_DISK_FULL
CURLE_TFTP_EXISTS => CURLE_REMOTE_FILE_EXISTS
- CURLE_HTTP_RANGE_ERROR => CURLE_RANGE_ERROR
+ CURLE_HTTP_RANGE_ERROR => CURLE_RANGE_ERROR
The following options were renamed:
- CURLOPT_SSLKEYPASSWD => CURLOPT_KEYPASSWD
+ CURLOPT_SSLKEYPASSWD => CURLOPT_KEYPASSWD
CURLOPT_FTPAPPEND => CURLOPT_APPEND
CURLOPT_FTPLISTONLY => CURLOPT_DIRLISTONLY
CURLOPT_FTP_SSL => CURLOPT_USE_SSL
@@ -2552,7 +2552,7 @@ James H (5 July 2007)
Daniel S (1 July 2007)
- Thomas J. Moore provided a patch that introduces Kerberos5 support in
libcurl. This also makes the options change name to --krb (from --krb4) and
- CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
+ CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
- Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5
proxy.
@@ -2581,7 +2581,7 @@ Daniel S (25 June 2007)
chunked encoding (that also lacks "Connection: close"). It now simply
assumes that the connection WILL be closed to signal the end, as that is how
RFC2616 section 4.4 point #5 says we should behave.
-
+
Version 7.16.3 (25 June 2007)
Daniel S (23 June 2007)
@@ -2595,7 +2595,7 @@ Daniel S (21 June 2007)
- Gerrit Bruchh�user pointed out a warning that the Intel(R) Thread Checker
tool reports and it was indeed a legitimate one and it is one fixed. It was
a use of a share without doing the proper locking first.
-
+
Daniel S (20 June 2007)
- Adam Piggott filed bug report #1740263
(http://curl.haxx.se/bug/view.cgi?id=1740263). Adam discovered that when
@@ -2712,7 +2712,7 @@ Daniel S (24 May 2007)
- Song Ma filed bug report #1724016
(http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading
glob-ranges for TFTP was broken in CVS. Fixed now.
-
+
- 'mytx' in bug report #1723194 (http://curl.haxx.se/bug/view.cgi?id=1723194)
pointed out that the warnf() function in the curl tool didn't properly deal
with the cases when excessively long words were used in the string to chop
@@ -3012,7 +3012,7 @@ Yang Tse (20 March 2007)
Yang Tse (19 March 2007)
- Bryan Henderson fixed the progress function so that it can get called more
frequently allowing same calling frecuency for the client progress callback.
-
+
Dan F (15 March 2007)
- Various memory leaks plugged and NULL pointer fixes made in the ssh code.
@@ -3090,11 +3090,11 @@ Daniel (27 February 2007)
server through a proxy and have the remote https server port set using the
CURLOPT_PORT option, protocol gets reset to http from https after the first
request.
-
+
User defined URL was modified internally by libcurl and subsequent reuse of
the easy handle may lead to connection using a different protocol (if not
originally http).
-
+
I found that libcurl hardcoded the protocol to "http" when it tries to
regenerate the URL if CURLOPT_PORT is set. I tried to fix the problem as
follows and it's working fine so far
@@ -3179,7 +3179,7 @@ Daniel (12 February 2007)
- release tarballs made with maketgz will from now on have a LIBCURL_TIMESTAMP
define set to hold the exact date and time of when the tarball was built, as
a human readable string using the UTC time zone.
-
+
- Jeff Pohlmeyer fixed a flaw in curl_multi_add_handle() when adding a handle
that has an easy handle present in the "closure" list pending closure.
@@ -3703,7 +3703,7 @@ Daniel (6 September 2006)
an FTP connection.
This is a major change.
-
+
Daniel (4 September 2006)
- Dmitry Rechkin (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a
patch that while not fixing things very nicely, it does make the SOCKS5
@@ -4433,7 +4433,7 @@ Daniel (6 December 2005)
given a too long URL.
These overflows happen if you
-
+
1 - pass in a URL with no protocol (like "http://") prefix, using no slash
and the string is 256 bytes or longer. This leads to a single zero byte
overflow of the malloced buffer.
@@ -4900,7 +4900,7 @@ Daniel (6 June 2005)
executable, while is just a local directory (I have . in the PATH)
2) I got several warning for head -1 deprecated in favour of head -n 1
-
+
3) ares directory is missing some file (missing is missing :-) ) because
automake and friends is not run.
@@ -4987,7 +4987,7 @@ Version 7.14.0-pre2 (11 May 2005)
Daniel (11 May 2005)
- Starting now, libcurl sends a little different set of headers in its default
HTTP requests:
-
+
A) Normal non-proxy HTTP:
- no more "Pragma: no-cache" (this only makes sense to proxies)
@@ -8083,7 +8083,7 @@ Version 7.10.8-pre1 (8 September 2003)
Daniel (7 September)
- Jurij Smakov found out that the non-OpenSSL MD5 code was not working on
Alpha (or ia64). Only the OpenSSL-version did. I made a fix I think corrects
- the problem.
+ the problem.
Daniel (5 September)
- Kevin Fisk reported that configure --enable-thread didn't work. I fixed.
@@ -8102,7 +8102,7 @@ Early (4 September)
- include/curl/curl.h
Added option CURLOPT_FTP_RESPONSE_TIMEOUT
- lib/ftp.c
- Added branch inside Curl_GetFTPResponse to check for
+ Added branch inside Curl_GetFTPResponse to check for
data->set.ftp_response_timeout
- lib/url.c
Modified Curl_setopt to recognize CURLOPT_FTP_RESPONSE_TIMEOUT
@@ -8264,7 +8264,7 @@ Early (6 August)
- Added option CURLOPT_FTP_CREATE_MISSING_DIRS
This option will force the target file's path to be created if it
does not already exist on the remote system.
-
+
Files affected:
- include/curl/curl.h
Added option CURLOPT_FTP_CREATE_MISSING_DIRS
@@ -8276,12 +8276,12 @@ Early (6 August)
Modified ftp_perform() to call its change directory function
through a pointer. The pointer points to ftp_cwd by default,
and is modified to point to ftp_force_cwd IFF
- data->set.ftp_create_missing_dirs is not 0.
+ data->set.ftp_create_missing_dirs is not 0.
- lib/url.c
Modified Curl_setopt to recognize CURLOPT_FTP_CREATE_MISSING_DIRS
- lib/urldata.h
Added ftp_create_missing_dirs to struct UserDefined
-
+
- Minor Bugfix for CURLOPT_TIMECONDITION with FTP - if the file was not
present to do the time comparison, it would fail.
Files affected:
@@ -8292,9 +8292,9 @@ Early (6 August)
return result;
And then by the code that actually did the time comparison.
The code that did the comparison handled the case where the filetime
- was not available (as indicated by info.filetime < 0 or set.timevalue
+ was not available (as indicated by info.filetime < 0 or set.timevalue
< 0), so I replaced the if (result) return result with a switch(result)
- that allows CURLE_FTP_COULDNT_RETR_FILE to fall through to the
+ that allows CURLE_FTP_COULDNT_RETR_FILE to fall through to the
normal time comparison.
Daniel (3 August)
@@ -8491,7 +8491,7 @@ Daniel (16 June)
- I remade the HTTP Digest code to use the MD5-code provided by OpenSSL if
that is present, and only use our own MD5-code if it isn't.
-
+
Daniel (13 June)
- More NTLM help, fixes and patches from Cris Bailiff.
@@ -9112,7 +9112,7 @@ Version 7.10.3-pre5 (9 Jan 2003)
Daniel (9 Jan 2003)
- Fixed tests/memanalyze.pl to work with file names that contain colons (as on
Windows).
-
+
- Kjetil Jacobsen quickly pointed out that lib/share.h was missing...
Version 7.10.3-pre4 (9 Jan 2003)
@@ -9404,7 +9404,7 @@ Daniel (21 Oct 2002)
- Albert Chin helped me get the -no-undefined option corrected in
lib/Makefile.am since Cygwin builds want it there while Solaris builds don't
want it present. Kevin Roth helped me try it out on cygwin.
-
+
- Nikita Schmidt provided a bug fix for a FOLLOWLOCATION bug introduced when
the ../ support got in (7.10.1).
@@ -9648,7 +9648,7 @@ Daniel (9 Aug 2002)
signals to get sent. This is basicly for multi-threaded applications that
now can use timeouts properly, without risking any signals to burst in and
ruin the party.
-
+
Daniel (5 Aug 2002)
- Lukasz Czekierda reported that RFC2732-style literal IPv6 addresses didn't
work. When did that code vanish? Anyway, it's back again now and seems to
@@ -9737,7 +9737,7 @@ Daniel (12 Jun 2002)
CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH. They are used to create a
multipart that appears as a regular file upload, but the data is provided
with a pointer and length.
-
+
- Nico Baggus made the VMS version use sigsetjmp() too.
- J�rn Hartroth fixed the mingw32 build using the mm lib.
@@ -10564,7 +10564,7 @@ Daniel (16 January 2002)
function for version information. This way, curl will report the version of
the SSL library actually running right now, not the one that had its headers
installed when libcurl was built. Mainly intersting when running with shared
- OpenSSL libraries.
+ OpenSSL libraries.
Version 7.9.3-pre2
@@ -10947,7 +10947,7 @@ Daniel (8 November 2001)
gethostbyname_r() but can't figure out how to use it, and it should really
figure out how to use it as it was running Linux and we know how that
works...
-
+
Daniel (7 November 2001)
- docs/VERSIONS is a new file in the archive that explains the version number
system we use in the curl project.
@@ -11325,7 +11325,7 @@ Daniel (3 September 2001)
- Installed libtool 1.4.1, libtoolized and everything.
Daniel (1 September 2001)
-- Heikki Korpela pointed out that I did not ship the proper libtool stuff in
+- Heikki Korpela pointed out that I did not ship the proper libtool stuff in
the pre-releases, even though that was my intention. libtoolize has now
been re-run.
@@ -11832,7 +11832,7 @@ Daniel (11 May 2001)
another one.
- Ingo Wilken patched away two redirect problems more!
-
+
Daniel (10 May 2001)
- Cris Bailiff correctly noted that the space-after-header problem with
Location: is present on several other places in the libcurl sources.
@@ -11851,7 +11851,7 @@ Daniel (9 May 2001)
- stunnel.pm was accidentally left out from the release archive, it is now
added (stunnel is needed to run the https-tests in the test suite)
-
+
Daniel (7 May 2001)
- Corrected two minor compiler warnings due to the FILE * to void * conversion
that I missed at two places. J�rn Hartroth brought me patches. Sander Gates
@@ -12445,7 +12445,7 @@ Daniel (29 January 2001)
Version 7.6.1-pre1
Daniel (29 January 2001)
-- Yet another Content-Range change. Ok now? Bob Schader checks from his end
+- Yet another Content-Range change. Ok now? Bob Schader checks from his end
and it works for him.
Daniel (27 January 2001)
@@ -12817,7 +12817,7 @@ Daniel (13 November 2000)
- While writing test cases for the test suite, I discovered an old limitation
that prevented -o and -T to be used at the same time. I removed this
immediately as this has no relevance in the current libcurl.
-
+
- Chris Faherty fixed a free-twice problem in lib/file.c
- I fixed the perl http server problem in the test suite.
@@ -12840,7 +12840,7 @@ Daniel (10 November 2000)
- Angus Mackay's getpass_r() in lib/getpass.c is now compliant with the
getpass_r() function it seems some systems actually have.
-
+
- Venkataramana Mokkapati detected a bug in the cookie parser and corrected
it. If the cookie was set for the full host name (domain=full.host.com),
the cookie was never sent back because of a faulty length comparison between
@@ -12851,7 +12851,7 @@ Daniel (9 November 2000)
it). Added a check for RSAglue/rsaref for the cases where libcrypto is found
but libssl isn't. I haven't verified this fix yet though, as I have no
system that requires those libs to build.
-
+
Version 7.4.2 pre3
Daniel (7 November 2000)
@@ -12869,7 +12869,7 @@ Daniel (6 November 2000)
- Emmanuel Tychon discovered that curl didn't really like user names only in
the URL. I corrected this and I also fixed the since long living problem
with URL encoded user names and passwords in the URLs. They should work now.
-
+
Daniel (2 November 2000)
- When I added --interface, the new error code that was added with it was
inserted in the wrong place and thus all error codes from 35 and upwards got
@@ -12896,7 +12896,7 @@ Daniel (30 October 2000)
and then use the CURLOPT_CAINFO to set the certificate to verify the remote
peer against. After an such an operation with a verification request, the
*_getinfo() option CURLINFO_SSL_VERIFYRESULT will return information about
- whether the verification succeeded or not.
+ whether the verification succeeded or not.
Daniel (27 October 2000)
- Georg Horn brought us a splendid patch that solves the long-standing
@@ -12911,7 +12911,7 @@ Daniel (26 October 2000)
getpass() function (now known as my_getpass()) was also fixed to not use any
static buffers. This also means we cannot use the "standard" getpass()
function even for those systems that have it, since it isn't thread-safe.
-
+
- Kevin Roth found out that if you'd write a config file with '-v url', the
url would not be used as "default URL" as documented, although if you wrote
it 'url -v' it worked! This has been corrected now.
@@ -12939,7 +12939,7 @@ Daniel (23 October 2000)
-u or -U flags (CURLOPT_USERPWD and CURLOPT_PROXYUSERPWD). This also
suggests that curl probably should url-decode the password piece of an URL
so that you could pass an encoded @-letter there...
-
+
Daniel (20 October 2000)
- Yet another http server barfed on curl's request that include the port
number in the Host: header always. I now only include the port number if it
@@ -12953,7 +12953,7 @@ Daniel (17 October 2000)
- Vladimir Oblomov reported that the -Y and -y options didn't work. They
didn't work for me either. This once again proves we should have that test
suite...
-
+
- I finally changed the error message libcurl returns if you try a https://
URL when the library wasn't build with SSL enabled. It will now return this
error:
@@ -13046,7 +13046,7 @@ Daniel (4 October 2000)
as is the -w section in curl.1. I added two options to enable the user to
get information about the received headers' size and the size of the HTTP
request. T. Bharath requested them.
-
+
Daniel (3 October 2000)
- Corrected a sever free() before use in the new add_buffer_send()! ;-)
@@ -13073,7 +13073,7 @@ Daniel (2 October 2000)
start with. If curl's average upload speed is faster than buffer size bytes
per second, curl will increase the used buffer size up to max 50Kb. It
should make the progress meter work better.
-
+
Version 7.4 pre1
Daniel (29 September 2000)
@@ -13103,7 +13103,7 @@ Daniel (26 September 2000)
- I changed the OpenSSL fix to work with older versions as well. The posted
patch was only working with 0.9.6 and no older ones.
-
+
Version 7.3-pre8
Daniel (25 September 2000)
@@ -13190,7 +13190,7 @@ Daniel (15 September 2000)
- Kai-Uwe Rommel pointed out a problem in the httpproxytunnel stuff for ftp.
Adjusted it. Added better info message when setting up the tunnel and the
pasv message when doing the second connect.
-
+
Version 7.3pre1
Daniel (15 September 2000)
@@ -13199,7 +13199,7 @@ Daniel (15 September 2000)
- TheArtOfHTTPScripting was corrected all over. I both type and spell really
bad at times!
-
+
Daniel (14 September 2000)
- -p/--proxytunnel was added to 'curl'. It uses the new
CURLOPT_HTTPPROXYTUNNEL libcurl option that allows "any" protocol to tunnel
@@ -14364,7 +14364,7 @@ Version 5.10
Troy (12 August 1999)
- Added MingW32 (GCC-2.95) support under Win32. The INSTALL file was also
a bit rearranged.
-
+
Daniel (12 August 1999)
- I had to copy a good <arpa/telnet.h> include file into the curl source
tree to enable the silly win32 systems to compile. The distribution rights
@@ -14436,7 +14436,7 @@ Version 5.10
Daniel (2 August 1999)
- Applied a progress-bar patch from Lars J. Aas. It offers
- a new styled progress bar enabled with -#/--progress-bar.
+ a new styled progress bar enabled with -#/--progress-bar.
T. Yamada <tai at imasy.or.jp> (30 July 1999)
- It breaks with segfault when 1) curl is using .netrc to obtain
@@ -14662,7 +14662,7 @@ Version 5.6.3beta
start. The fix dated April 6 and posted on the mailing list forced curl to
use v2 at all times using a modern OpenSSL version, but we don't really
want such a crippled solution.
-
+
- Marc Boucher sent me a patch that corrected a math error for the
"Curr.Speed" progress meter.
@@ -15074,7 +15074,7 @@ Version 5.0 beta 21
- Ok, I expanded the tgz-target to update the version string on each occation
I build a release archive!
- I reacted on Angus Mackay's initiative and remade the parameter parser to
- be more getopt compliant. Curl now supports "merged" flags as in
+ be more getopt compliant. Curl now supports "merged" flags as in
curl -lsv ftp.site.com
Do note that I had to move three short-names of the options. Parameters
that needs an additional string such as -x must be stand-alone or the
@@ -15296,7 +15296,7 @@ Version 4.5.1
- SSL through proxy fix
- Added -A to allow User-Agent: changes
- Daniel Stenberg
+ Daniel Stenberg
- Made the -A work when SSL-through-proxy.
Version 4.5
@@ -15416,7 +15416,7 @@ Version 3.2
Daniel Stenberg
- Major rewrite of two crucial parts of this code: upload and download.
They are both now using a select() switch, that allows much better
- progress meter and time control.
+ progress meter and time control.
- alarm() usage removed completely
- FTP get can now list directory contents if the path ends with a slash '/'.
Urlget on a ftp-path that doesn't end with a slash means urlget will
@@ -15459,7 +15459,7 @@ Version 2.9
Remco van Hooff
- Added a fix to make it compile smoothly on Amiga using the SAS/C
compiler.
-
+
Daniel Stenberg
- Believe it or not, but the STUPID Novell web server seems to require
that the Host: keyword is used, so well I use it and I (re-introduce) the
@@ -15477,7 +15477,7 @@ Version 2.7
fetch multipart files like that.
- '-f' is introduced, it means Fail without output in case of HTTP server
errors (return code >=300).
- - Added support for -r, ranges. Specify which part of a document you
+ - Added support for -r, ranges. Specify which part of a document you
want, and only that part is returned. Only with HTTP/1.1-servers.
- Split up the source in 3 parts. Now all pure URL functions are in
urlget.c and stuff that deals with the stand-alone program is in main.c.
@@ -15545,7 +15545,7 @@ Version 2.2
Johan Andersson
- The urlget function didn't set the path to url when using proxy.
- Fixed bug with IMC proxy. Now using (almost) complete GET command.
-
+
Daniel Stenberg
- Made it compile on Solaris. Had to reorganize the includes a bit.
(so Win32, Linux, SunOS 4 and Solaris 2 compile fine.)
View
14 CMake/CheckTypeSize.cmake
@@ -11,11 +11,11 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
if(NOT DEFINED ${VARIABLE})
if("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
set(CHECK_TYPE_SIZE_TYPE "${TYPE}")
- set(MACRO_CHECK_TYPE_SIZE_FLAGS
+ set(MACRO_CHECK_TYPE_SIZE_FLAGS
"${CMAKE_REQUIRED_FLAGS}")
foreach(def HAVE_SYS_TYPES_H HAVE_STDINT_H HAVE_STDDEF_H)
if("${def}")
- set(MACRO_CHECK_TYPE_SIZE_FLAGS
+ set(MACRO_CHECK_TYPE_SIZE_FLAGS
"${MACRO_CHECK_TYPE_SIZE_FLAGS} -D${def}")
endif("${def}")
endforeach(def)
@@ -25,14 +25,14 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
endforeach(def)
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/CMake/CheckTypeSize.c.in"
- "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
+ "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
IMMEDIATE @ONLY)
- file(READ
+ file(READ
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
CHECK_TYPE_SIZE_FILE_CONTENT)
message(STATUS "Check size of ${TYPE}")
if(CMAKE_REQUIRED_LIBRARIES)
- set(CHECK_TYPE_SIZE_ADD_LIBRARIES
+ set(CHECK_TYPE_SIZE_ADD_LIBRARIES
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
endif(CMAKE_REQUIRED_LIBRARIES)
try_run(${VARIABLE} HAVE_${VARIABLE}
@@ -43,11 +43,11 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
OUTPUT_VARIABLE OUTPUT)
if(HAVE_${VARIABLE})
message(STATUS "Check size of ${TYPE} - done")
- file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
+ file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
"Determining size of ${TYPE} passed with the following output:\n${OUTPUT}\n\n")
else(HAVE_${VARIABLE})
message(STATUS "Check size of ${TYPE} - failed")
- file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
+ file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
"Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\nCheckTypeSize.c:\n${CHECK_TYPE_SIZE_FILE_CONTENT}\n\n")
endif(HAVE_${VARIABLE})
endif("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
View
2  CMake/CurlTests.c
@@ -1,6 +1,6 @@
#ifdef TIME_WITH_SYS_TIME
/* Time with sys/time test */
-
+
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
View
8 CMake/OtherTests.cmake
@@ -68,7 +68,7 @@ if(curl_cv_recv)
endforeach(recv_arg3)
endforeach(recv_arg2)
endforeach(recv_arg1)
- endforeach(recv_retv)
+ endforeach(recv_retv)
else(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG1 "${curl_cv_func_recv_args}")
string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG2 "${curl_cv_func_recv_args}")
@@ -81,7 +81,7 @@ if(curl_cv_recv)
#MESSAGE("RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}")
#MESSAGE("RECV_TYPE_RETV ${RECV_TYPE_RETV}")
endif(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
-
+
if("${curl_cv_func_recv_args}" STREQUAL "unknown")
message(FATAL_ERROR "Cannot find proper types to use for recv args")
endif("${curl_cv_func_recv_args}" STREQUAL "unknown")
@@ -134,7 +134,7 @@ if(curl_cv_send)
endforeach(send_arg3)
endforeach(send_arg2)
endforeach(send_arg1)
- endforeach(send_retv)
+ endforeach(send_retv)
else(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG1 "${curl_cv_func_send_args}")
string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG2 "${curl_cv_func_send_args}")
@@ -149,7 +149,7 @@ if(curl_cv_send)
#MESSAGE("SEND_TYPE_RETV ${SEND_TYPE_RETV}")
#MESSAGE("SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}")
endif(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
-
+
if("${curl_cv_func_send_args}" STREQUAL "unknown")
message(FATAL_ERROR "Cannot find proper types to use for send args")
endif("${curl_cv_func_send_args}" STREQUAL "unknown")
View
8 CVS-INFO
@@ -1,7 +1,7 @@
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
CVS-INFO
View
14 MacOSX-Framework
@@ -1,5 +1,5 @@
#!/bin/bash
-# This script performs all of the steps needed to build a
+# This script performs all of the steps needed to build a
# universal binary libcurl.framework for Mac OS X 10.4 or greater.
VERSION=`/usr/bin/sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curlver.h`
@@ -22,10 +22,10 @@ if test -d $SDK32; then
CFLAGS="-Os -isysroot $SDK32 $ARCHES32 $MINVER32" \
LDFLAGS="-Wl,-syslibroot,$SDK32 $ARCHES32 $MINVER32 -Wl,-headerpad_max_install_names" \
CC=$CC
-
+
echo "----Building 32 bit libcurl..."
make
-
+
echo "----Creating 32 bit framework..."
rm -r libcurl.framework
mkdir -p libcurl.framework/Versions/A/Resources
@@ -40,7 +40,7 @@ if test -d $SDK32; then
ln -fs Versions/A/Headers Headers
cd Versions
ln -fs A Current
-
+
if test -d $SDK64; then
popd
make clean
@@ -49,10 +49,10 @@ if test -d $SDK32; then
CFLAGS="-Os -isysroot $SDK64 $ARCHES64 $MINVER64" \
LDFLAGS="-Wl,-syslibroot,$SDK64 $ARCHES64 $MINVER64 -Wl,-headerpad_max_install_names" \
CC=$CC
-
+
echo "----Building 64 bit libcurl..."
make
-
+
echo "----Appending 64 bit framework to 32 bit framework..."
cp lib/.libs/libcurl.dylib libcurl.framework/Versions/A/libcurl64
install_name_tool -id @executable_path/../Frameworks/libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl64
@@ -69,7 +69,7 @@ if test -d $SDK32; then
#endif
EOF
fi
-
+
lipo -info libcurl.framework/Versions/A/libcurl
echo "libcurl.framework is built and can now be included in other projects."
echo "Copy libcurl.framework to your bundle's Contents/Frameworks folder, ~/Library/Frameworks or /Library/Frameworks."
View
64 acinclude.m4
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -167,7 +167,7 @@ AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [
dnl CURL_CHECK_HEADER_WINDOWS
dnl -------------------------------------------------
-dnl Check for compilable and valid windows.h header
+dnl Check for compilable and valid windows.h header
AC_DEFUN([CURL_CHECK_HEADER_WINDOWS], [
AC_CACHE_CHECK([for windows.h], [ac_cv_header_windows_h], [
@@ -240,7 +240,7 @@ AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [
dnl CURL_CHECK_HEADER_WINSOCK
dnl -------------------------------------------------
-dnl Check for compilable and valid winsock.h header
+dnl Check for compilable and valid winsock.h header
AC_DEFUN([CURL_CHECK_HEADER_WINSOCK], [
AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl
@@ -277,7 +277,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINSOCK], [
dnl CURL_CHECK_HEADER_WINSOCK2
dnl -------------------------------------------------
-dnl Check for compilable and valid winsock2.h header
+dnl Check for compilable and valid winsock2.h header
AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [
AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl
@@ -966,13 +966,13 @@ AC_DEFUN([CURL_CHECK_HEADER_MEMORY], [
dnl CURL_CHECK_FUNC_GETNAMEINFO
dnl -------------------------------------------------
-dnl Test if the getnameinfo function is available,
+dnl Test if the getnameinfo function is available,
dnl and check the types of five of its arguments.
dnl If the function succeeds HAVE_GETNAMEINFO will be
dnl defined, defining the types of the arguments in
dnl GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2,
dnl GETNAMEINFO_TYPE_ARG46 and GETNAMEINFO_TYPE_ARG7,
-dnl and also defining the type qualifier of first
+dnl and also defining the type qualifier of first
dnl argument in GETNAMEINFO_QUAL_ARG1.
AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
@@ -1056,7 +1056,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -1067,7 +1067,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
#endif
#include <windows.h>
#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
+#include <winsock2.h>
#ifdef HAVE_WS2TCPIP_H
#include <ws2tcpip.h>
#endif
@@ -1167,7 +1167,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
dnl TYPE_SOCKADDR_STORAGE
dnl -------------------------------------------------
-dnl Check for struct sockaddr_storage. Most IPv6-enabled
+dnl Check for struct sockaddr_storage. Most IPv6-enabled
dnl hosts have it, but AIX 4.3 is one known exception.
AC_DEFUN([TYPE_SOCKADDR_STORAGE],
@@ -1213,7 +1213,7 @@ AC_DEFUN([CURL_CHECK_NI_WITHSCOPEID], [
AC_CHECK_HEADERS(stdio.h sys/types.h sys/socket.h \
netdb.h netinet/in.h arpa/inet.h)
#
- AC_CACHE_CHECK([for working NI_WITHSCOPEID],
+ AC_CACHE_CHECK([for working NI_WITHSCOPEID],
[ac_cv_working_ni_withscopeid], [
AC_RUN_IFELSE([
AC_LANG_PROGRAM([[
@@ -1305,11 +1305,11 @@ AC_DEFUN([CURL_CHECK_NI_WITHSCOPEID], [
dnl CURL_CHECK_FUNC_RECV
dnl -------------------------------------------------
-dnl Test if the socket recv() function is available,
-dnl and check its return type and the types of its
-dnl arguments. If the function succeeds HAVE_RECV
-dnl will be defined, defining the types of the arguments
-dnl in RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3
+dnl Test if the socket recv() function is available,
+dnl and check its return type and the types of its
+dnl arguments. If the function succeeds HAVE_RECV
+dnl will be defined, defining the types of the arguments
+dnl in RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3
dnl and RECV_TYPE_ARG4, defining the type of the function
dnl return value in RECV_TYPE_RETV.
@@ -1321,7 +1321,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
AC_MSG_CHECKING([for recv])
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -1365,7 +1365,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
if test "$curl_cv_func_recv_args" = "unknown"; then
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -1438,13 +1438,13 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
dnl CURL_CHECK_FUNC_SEND
dnl -------------------------------------------------
-dnl Test if the socket send() function is available,
-dnl and check its return type and the types of its
-dnl arguments. If the function succeeds HAVE_SEND
-dnl will be defined, defining the types of the arguments
-dnl in SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3
+dnl Test if the socket send() function is available,
+dnl and check its return type and the types of its
+dnl arguments. If the function succeeds HAVE_SEND
+dnl will be defined, defining the types of the arguments
+dnl in SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3
dnl and SEND_TYPE_ARG4, defining the type of the function
-dnl return value in SEND_TYPE_RETV, and also defining the
+dnl return value in SEND_TYPE_RETV, and also defining the
dnl type qualifier of second argument in SEND_QUAL_ARG2.
AC_DEFUN([CURL_CHECK_FUNC_SEND], [
@@ -1455,7 +1455,7 @@ AC_DEFUN([CURL_CHECK_FUNC_SEND], [
AC_MSG_CHECKING([for send])
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -1499,7 +1499,7 @@ AC_DEFUN([CURL_CHECK_FUNC_SEND], [
if test "$curl_cv_func_send_args" = "unknown"; then
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -1623,7 +1623,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
AC_MSG_CHECKING([for recvfrom])
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -1669,7 +1669,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
if test "$curl_cv_func_recvfrom_args" = "unknown"; then
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -1805,7 +1805,7 @@ AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [
AC_CACHE_CHECK([for MSG_NOSIGNAL], [ac_cv_msg_nosignal], [
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -1856,7 +1856,7 @@ AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [
AC_CACHE_CHECK([for struct timeval], [ac_cv_struct_timeval], [
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
-#undef inline
+#undef inline
#ifdef HAVE_WINDOWS_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
@@ -2815,8 +2815,8 @@ AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
done
fi
fi
-
-
+
+
if test "x$ca" != "xno"; then
CURL_CA_BUNDLE='"'$ca'"'
@@ -3043,7 +3043,7 @@ AC_DEFUN([CURL_CONFIGURE_CURL_OFF_T], [
'__int32' \
'int' ; do
DO_CURL_OFF_T_CHECK([$t4], [4])
- done
+ done
AC_MSG_RESULT([$curl_typeof_curl_off_t])
fi
if test "$curl_typeof_curl_off_t" = "unknown"; then
View
8 docs/BUGS
@@ -1,8 +1,8 @@
$Id$
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
BUGS
View
4 docs/CONTRIBUTE
@@ -28,7 +28,7 @@
2.10 Document
2.11 Test Cases
- 3. Pushing Out Your Changes
+ 3. Pushing Out Your Changes
3.1 Write Access to CVS Repository
3.2 How To Make a Patch
3.3 How to get your changes into the main sources
@@ -175,7 +175,7 @@
test case that verifies that it works as documented. If every submitter also
posts a few test cases, it won't end up as a heavy burden on a single person!
-3. Pushing Out Your Changes
+3. Pushing Out Your Changes
3.1 Write Access to CVS Repository
View
2  docs/DISTRO-DILEMMA
@@ -11,7 +11,7 @@ Condition
This document reflects my view and understanding of these things. Please tell
me where and how you think I'm wrong, and I'll try to correct my mistakes.
-Background
+Background
The Free Software Foundation has deemed the Original BSD license[1] to be
"incompatible"[2] with GPL[3]. I'd rather say it is the other way around, but
View
6 docs/FAQ
@@ -90,7 +90,7 @@ FAQ
5.12 Can I make libcurl fake or hide my real IP address?
5.13 How do I stop an ongoing transfer?
5.14 Using C++ non-static functions for callbacks?
- 5.15 How do I get an FTP directory listing?
+ 5.15 How do I get an FTP directory listing?
6. License Issues
6.1 I have a GPL program, can I use the libcurl library?
@@ -648,7 +648,7 @@ FAQ
curl ftp://ftp.sunet.se//tmp/
3.18 Can I use curl to send a POST/PUT and not wait for a response?
-
+
No.
But you could easily write your own program using libcurl to do such stunts.
@@ -1164,7 +1164,7 @@ FAQ
curl_easy_setopt(hcurl, CURLOPT_WRITEFUNCTION, YourClass:staticFunction);
curl_easy_setopt(hcurl, CURLOPT_WRITEDATA, this);
- 5.15 How do I get an FTP directory listing?
+ 5.15 How do I get an FTP directory listing?
If you end the FTP URL you request with a slash, libcurl will provide you
with a directory listing of that given directory. You can also set
View
8 docs/FEATURES
@@ -1,7 +1,7 @@
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
FEATURES
View
30 docs/INSTALL
@@ -144,7 +144,7 @@ UNIX
To get support for SCP and SFTP, build with --with-libssh2 and have
libssh2 0.16 or later installed.
-
+
SPECIAL CASES
-------------
Some versions of uClibc require configuring with CPPFLAGS=-D_GNU_SOURCE=1
@@ -202,7 +202,7 @@ Win32
If you have any problems linking libraries or finding header files, be sure
to verify that the provided "Makefile.m32" files use the proper paths, and
- adjust as necessary. It is also possible to override these paths with
+ adjust as necessary. It is also possible to override these paths with
environment variables, for example:
set ZLIB_PATH=c:\zlib-1.2.3
@@ -676,8 +676,8 @@ eCos
+++ src/main.c 24 Jul 2006 21:37:23 -0000
@@ -4286,11 +4286,31 @@
}
-
-
+
+
+#ifdef __ECOS
+#include <cyg/fileio/fileio.h>
+MTAB_ENTRY( testfs_mte1,
@@ -686,7 +686,7 @@ eCos
+ "",
+ 0);
+#endif
-
+
int main(int argc, char *argv[])
{
int res;
@@ -704,7 +704,7 @@ eCos
+ }
+#endif
memset(&config, 0, sizeof(struct Configurable));
-
+
config.errors = stderr; /* default errors to stderr */
@@ -713,7 +713,7 @@ Minix
curl can be compiled on Minix 3 using gcc or ACK (starting with
ver. 3.1.3). Ensure that GNU gawk and bash are both installed and
available in the PATH.
-
+
ACK
---
Increase the heap sizes of the compiler with the command:
@@ -730,9 +730,9 @@ Minix
GCC
---
Make sure gcc is in your PATH with the command:
-
+
export PATH=/usr/gnu/bin:$PATH
-
+
then configure and compile curl with:
./configure CC=gcc AR=/usr/gnu/bin/gar GREP=grep
@@ -756,11 +756,11 @@ Symbian OS
VxWorks
========
Build for VxWorks is performed using cross compilation.
- That means you build on Windows machine using VxWorks tools and
+ That means you build on Windows machine using VxWorks tools and
run the built image on the VxWorks device.
-
+
To build libcurl for VxWorks you need:
-
+
- CYGWIN (free, http://cygwin.com/)
- Wind River Workbench (commercial)
@@ -774,10 +774,10 @@ VxWorks
3. Adjust environment variables defined in 'Environment' section
of the Makefile.vxworks file to point to your software folders.
4. Build the libcurl by typing 'make -f ./Makefile.vxworks'
-
- As a result the libcurl.a library should be created in the 'lib' folder.
+
+ As a result the libcurl.a library should be created in the 'lib' folder.
To clean the build results type 'make -f ./Makefile.vxworks clean'.
-
+
CROSS COMPILE
=============
View
14 docs/INSTALL.cmake
@@ -14,9 +14,9 @@ Building with CMake
CMake is specifed in the file CMakeLists.txt found in the top of the curl
source tree. Once the correct version of CMake is installed you can follow
the instructions below for the platform you are building on.
-
+
CMake builds can be configured either from the command line, or from one
- of CMake's GUI's.
+ of CMake's GUI's.
Command Line CMake
==================
@@ -30,7 +30,7 @@ Command Line CMake
# the Curl source tree. CMake will pick a compiler for you. If you
# want to specifiy the compile, you can set the CC environment
# variable prior to running CMake.
- cmake ../curl
+ cmake ../curl
make
# currently make test and make install are not implemented
#make test
@@ -54,12 +54,12 @@ cmake-gui
2. Fill in the "Where to build the binaries" combo box with the path
to the directory for your build tree, ideally this should not be the
same as the source tree, but a parallel diretory called curl-build or
- something similar.
+ something similar.
3. Once the source and binary directories are specified, press the
"Configure" button.
- 4. Select the native build tool that you want to use.
+ 4. Select the native build tool that you want to use.
5. At this point you can change any of the options presented in the
GUI. Once you have selected all the options you want, click the
- "Generate" button.
+ "Generate" button.
6. Run the native build tool that you used CMake to genratate.
-
+
View
12 docs/INSTALL.devcpp
@@ -1,13 +1,13 @@
DevCpp-Mingw Install & Compilation Sept 2005
==================================
-Reference Emails available at curl@haxx.se:
+Reference Emails available at curl@haxx.se:
Libcurl Install and Use Issues
- Awaiting an Answer for Win 32 Install
+ Awaiting an Answer for Win 32 Install
res = curl_easy_perform(curl); Error
Makefile Issues
-
+
Having previously done a thorough review of what was available that met my
requirements under GPL, I settled for Libcurl as the software of choice for
@@ -110,7 +110,7 @@ Next read the contents of Makefile.m32. It includes instructions on its use.
Method I - DOS Command Line
---------------------------
-
+
Note - The only reason I have included this method is that Method II which is
the preferred method for compiling does not allow for the setting of option
switches (e.g. SSL = 1 or SSL =0). At least that's what they tell me at the
@@ -191,7 +191,7 @@ the contents of the LIB Folder. If not go there.
files and close box. Wait till all files are added. This may take 30 seconds
or longer.
-9- Drop the Menu Execute/Click on Compile.
+9- Drop the Menu Execute/Click on Compile.
10- That's it.
@@ -269,7 +269,7 @@ added. Otherwise you may experience link errors.
2- Don't forget to include #include "curl/curl.h".
e.g.
- #define CURL_STATICLIB
+ #define CURL_STATICLIB
#include <windows.h>
#include "curl/curl.h"
#include <fstream>
View
12 docs/INTERNALS
@@ -1,7 +1,7 @@
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
INTERNALS
@@ -304,7 +304,7 @@ Library
lib/timeval.c features replacement functions for systems that don't have
gettimeofday() and a few support functions for timeval convertions.
-
+
A function named curl_version() that returns the full curl version string is
found in lib/version.c.
@@ -375,7 +375,7 @@ SSL libraries
Library Symbols
===============
-
+
All symbols used internally in libcurl must use a 'Curl_' prefix if they're
used in more than a single file. Single-file symbols must be made static.
Public ("exported") symbols must use a 'curl_' prefix. (There are exceptions,
View
4 docs/KNOWN_BUGS
@@ -21,7 +21,7 @@ may have been fixed since this was written!
70. Problem re-using easy handle after call to curl_multi_remove_handle
http://curl.haxx.se/mail/lib-2009-07/0249.html
-
+
68. "More questions about ares behavior".
http://curl.haxx.se/mail/lib-2009-08/0012.html
@@ -163,7 +163,7 @@ may have been fixed since this was written!
to VMS file structures and the perceived file sizes stat() returns. A
possible fix would involve sending a "STRU VMS" command.
http://curl.haxx.se/bug/view.cgi?id=1156287
-
+
21. FTP ASCII transfers do not follow RFC959. They don't convert the data
accordingly (not for sending nor for receiving). RFC 959 section 3.1.1.1
clearly describes how this should be done:
View
28 docs/MANUAL
@@ -168,7 +168,7 @@ RANGES
Get the first 100 bytes of a document using FTP:
- curl -r 0-99 ftp://www.get.this/README
+ curl -r 0-99 ftp://www.get.this/README
UPLOADING
@@ -184,7 +184,7 @@ UPLOADING
Upload a local file to the remote site, and use the local file name remote
too:
-
+
curl -T uploadfile -u user:passwd ftp://ftp.upload.com/
Upload a local file to get appended to the remote file:
@@ -223,7 +223,7 @@ VERBOSE / DEBUG
this:
curl --trace trace.txt www.haxx.se
-
+
DETAILED INFORMATION
@@ -325,12 +325,12 @@ POST (HTTP)
To send two files in one post you can do it in two ways:
1. Send multiple files in a single "field" with a single field name:
-
- curl -F "pictures=@dog.gif,cat.gif"
-
- 2. Send two fields with two field names:
- curl -F "docpicture=@dog.gif" -F "catpicture=@cat.gif"
+ curl -F "pictures=@dog.gif,cat.gif"
+
+ 2. Send two fields with two field names:
+
+ curl -F "docpicture=@dog.gif" -F "catpicture=@cat.gif"
To send a field value literally without interpreting a leading '@'
or '<', or an embedded ';type=', use --form-string instead of
@@ -678,15 +678,15 @@ HTTPS
formatted one that curl can use, do something like this (assuming netscape,
but IE is likely to work similarly):
- You start with hitting the 'security' menu button in netscape.
+ You start with hitting the 'security' menu button in netscape.
- Select 'certificates->yours' and then pick a certificate in the list
+ Select 'certificates->yours' and then pick a certificate in the list
- Press the 'export' button
+ Press the 'export' button
- enter your PIN code for the certs
+ enter your PIN code for the certs
- select a proper place to save it
+ select a proper place to save it
Run the 'openssl' application to convert the certificate. If you cd to the
openssl installation, you can do it like:
@@ -793,7 +793,7 @@ ENVIRONMENT VARIABLES
They should be set for protocol-specific proxies. General proxy should be
set with
-
+
ALL_PROXY
A comma-separated list of host names that shouldn't go through any proxy is
View
12 docs/README.cmake
@@ -1,7 +1,7 @@
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
README.cmake
@@ -10,7 +10,7 @@ README.cmake
Curl contains CMake build files that provide a way to build Curl with the
CMake build tool (www.cmake.org). CMake is a cross platform meta build tool
that generates native makefiles and IDE project files. The CMake build
- system can be used to build Curl on any of its supported platforms.
+ system can be used to build Curl on any of its supported platforms.
Read the INSTALL.cmake file for instructions on how to compile curl with
- CMake.
+ CMake.
View
14 docs/README.netware
@@ -1,7 +1,7 @@
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
README.netware
@@ -10,9 +10,9 @@ README.netware
Curl has been successfully compiled with gcc / nlmconv on different flavours
of Linux as well as with the official Metrowerks CodeWarrior compiler.
- While not being the main development target, a continously growing share of
+ While not being the main development target, a continously growing share of
curl users are NetWare-based, specially also consuming the lib from PHP.
-
+
The unix-style man pages are tricky to read on windows, so therefore are all
those pages converted to HTML as well as pdf, and included in the release
archives.
@@ -24,4 +24,4 @@ README.netware
Read the INSTALL file for instructions how to compile curl self.
-
+
View
8 docs/README.win32
@@ -1,7 +1,7 @@
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
README.win32
View
18 docs/RESOURCES
@@ -1,7 +1,7 @@
- _ _ ____ _
- Project ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ Project ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
@@ -46,7 +46,7 @@ This document lists documents and standards used by curl.
Character Sets, Languages, and Continuations
RFC 2388 - "Returning Values from Forms: multipart/form-data"
- Use this as an addition to the RFC1867
+ Use this as an addition to the RFC1867
RFC 2396 - "Uniform Resource Identifiers: Generic Syntax and Semantics" This
one obsoletes RFC 1738, but since RFC 1738 is often mentioned
@@ -61,12 +61,12 @@ This document lists documents and standards used by curl.
RFC 2617 - HTTP Authentication
RFC 2718 - Guidelines for new URL Schemes
-
+
RFC 2732 - Format for Literal IPv6 Addresses in URL's
-
+
RFC 2818 - HTTP Over TLS (TLS is the successor to SSL)
-
+
RFC 2964 - Use of HTTP State Management
-
+
RFC 2965 - HTTP State Management Mechanism. Cookies. Obsoletes RFC2109
View
2  docs/SSLCERTS
@@ -103,7 +103,7 @@ https://wiki.mozilla.org/NSS_Shared_DB
Starting with version 7.19.7 libcurl will check for the NSS version it runs,
and add automatically the 'sql:' prefix to the certdb directory (either the
hardcoded default /etc/pki/nssdb or the directory configured with SSL_DIR
-environment variable) if a version 3.12.0 or later is detected.
+environment variable) if a version 3.12.0 or later is detected.
To check which certdb format your distribution provides examine the default
certdb location /etc/pki/nssdb; the new certdb format can be identified by
the filenames cert9.db, key4.db, pkcs11.txt; filenames of older versions are
View
10 docs/TODO
@@ -1,7 +1,7 @@
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
Things that could be nice to do in the future
@@ -132,7 +132,7 @@
libcurl built without an asynchronous resolver library uses alarm() to time
out DNS lookups. When a timeout occurs, this causes libcurl to jump from the
- signal handler back into the library with a sigsetjmp, which effectively
+ signal handler back into the library with a sigsetjmp, which effectively
causes libcurl to continue running within the signal handler. This is
non-portable and could cause problems on some platforms. A discussion on the
problem is available at http://curl.haxx.se/mail/lib-2008-09/0197.html
View
6 docs/TheArtOfHttpScripting
@@ -222,7 +222,7 @@ Date: May 28, 2008
The site might require a different authentication method (check the headers
returned by the server), and then --ntlm, --digest, --negotiate or even
--anyauth might be options that suit you.
-
+
Sometimes your HTTP access is only available through the use of a HTTP
proxy. This seems to be especially common at various companies. A HTTP proxy
may require its own user and password to allow the client to get through to
@@ -292,8 +292,8 @@ Date: May 28, 2008
such pages in the same manner it display all HTTP replies. It does however
feature an option that will make it attempt to follow the Location: pointers.
- To tell curl to follow a Location:
-
+ To tell curl to follow a Location:
+
curl -L www.sitethatredirects.com
If you use curl to POST to a site that immediately redirects you to another
View
10 docs/VERSIONS
@@ -1,7 +1,7 @@
- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
Version Numbers and Releases
@@ -52,7 +52,7 @@ Version Numbers and Releases
have the libcurl version stored in the curl/curlver.h file using a static
numbering scheme that can be used for comparison. The version number is
defined as:
-
+
#define LIBCURL_VERSION_NUM 0xXXYYZZ
Where XX, YY and ZZ are the main version, release and patch numbers in
View
8 docs/curl-config.1
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -38,9 +38,9 @@ Displays the compiler used to build libcurl.
Set of compiler options (CFLAGS) to use when compiling files that use
libcurl. Currently that is only the include path to the curl include files.
.IP "--checkfor [version]"
-Specify the oldest possible libcurl version string you want, and this
-script will return 0 if the current installation is new enough or it
-returns 1 and outputs a text saying that the current version is not new
+Specify the oldest possible libcurl version string you want, and this
+script will return 0 if the current installation is new enough or it
+returns 1 and outputs a text saying that the current version is not new
enough. (Added in 7.15.4)
.IP "--configure"
Displays the arguments given to configure when building curl.
View
2  docs/curl.1
@@ -215,7 +215,7 @@ local directory hierarchy as needed. This option creates the dirs mentioned
with the -o option, nothing else. If the -o file name uses no dir or if the
dirs it mentions already exist, no dir will be created.
-To create remote directories when using FTP or SFTP, try
+To create remote directories when using FTP or SFTP, try
\fI--ftp-create-dirs\fP.
.IP "--crlf"
(FTP) Convert LF to CRLF in upload. Useful for MVS (OS/390).
View
8 docs/examples/Makefile.example
@@ -1,8 +1,8 @@
#############################################################################
-# _ _ ____ _
-# Project ___| | | | _ \| |
-# / __| | | | |_) | |
-# | (__| |_| | _ <| |___
+# _ _ ____ _
+# Project ___| | | | _ \| |
+# / __| | | | |_) | |
+# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# $Id$
View
4 docs/examples/chkspeed.c
@@ -40,7 +40,7 @@
static size_t WriteCallback(void *ptr, size_t size, size_t nmemb, void *data)
{
/* we are not interested in the downloaded bytes itself,
- so we only return the size we would have saved ... */
+ so we only return the size we would have saved ... */
return (size_t)(size * nmemb);
}
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
for (argc--, argv++; *argv; argc--, argv++) {
if (strncasecmp(*argv, "-", 1) == 0) {
if (strncasecmp(*argv, "-H", 2) == 0) {
- fprintf(stderr,
+ fprintf(stderr,
"\rUsage: %s [-m=1|2|5|10|20|50|100] [-t] [-x] [url]\n",
appname);
exit(1);
View
6 docs/examples/cookie_interface.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * This example shows usage of simple cookie interface.
+ * This example shows usage of simple cookie interface.
*/
#include <stdio.h>
@@ -80,7 +80,7 @@ main(void)
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
if (res != CURLE_OK) {
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
- return 1;
+ return 1;
}
/* HTTP-header style cookie */
@@ -90,7 +90,7 @@ main(void)
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
if (res != CURLE_OK) {
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
- return 1;
+ return 1;
}
print_cookies(curl);
View
2  docs/examples/curlx.c
@@ -115,7 +115,7 @@ static const char *curlx_usage[]={
*/
-/*
+/*
* We use this ZERO_NULL to avoid picky compiler warnings,
* when assigning a NULL pointer to a function pointer var.
*/
View
4 docs/examples/ftpgetinfo.c
@@ -23,7 +23,7 @@
static size_t throw_away(void *ptr, size_t size, size_t nmemb, void *data)
{
/* we are not interested in the headers itself,
- so we only return the size we would have saved ... */
+ so we only return the size we would have saved ... */
return (size_t)(size * nmemb);
}
@@ -45,7 +45,7 @@ int main(void)
/* No download if the file */
curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
/* Ask for filetime */
- curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
+ curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
/* No header output: TODO 14.1 http-style HEAD output for ftp */
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, throw_away);
curl_easy_setopt(curl, CURLOPT_HEADER, 0L);
View
8 docs/examples/multi-double.c
@@ -1,8 +1,8 @@
/*****************************************************************************
- * _ _ ____ _
- * Project ___| | | | _ \| |
- * / __| | | | |_) | |
- * | (__| |_| | _ <| |___
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* $Id$
View
2  docs/examples/multi-post.c
@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
struct curl_slist *headerlist=NULL;
static const char buf[] = "Expect:";
- /* Fill in the file upload field. This makes libcurl load data from
+ /* Fill in the file upload field. This makes libcurl load data from
the given file name when curl_easy_perform() is called. */
curl_formadd(&formpost,
&lastptr,
View
2  docs/examples/sampleconv.c
@@ -9,7 +9,7 @@
*/
/*
This is a simple example showing how a program on a non-ASCII platform
- would invoke callbacks to do its own codeset conversions instead of
+ would invoke callbacks to do its own codeset conversions instead of
using the built-in iconv functions in libcurl.
The IBM-1047 EBCDIC codeset is used for this example but the code
View
6 docs/libcurl/curl_easy_getinfo.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -217,10 +217,10 @@ Applications wishing to resume an RTSP session on another connection should
retreive this info before closing the active connection.
.IP CURLINFO_RTSP_CLIENT_CSEQ
Pass a pointer to a long to receive the next CSeq that will be used by the
-application.
+application.
.IP CURLINFO_RTSP_SERVER_CSEQ
Pass a pointer to a long to receive the next server CSeq that will be expected
-by the application.
+by the application.
\fI(NOTE: listening for server initiated requests is currently
unimplemented).\fP
View
2  docs/libcurl/curl_easy_init.3
@@ -14,7 +14,7 @@ handle that you must use as input to other easy-functions. curl_easy_init
initializes curl and this call \fBMUST\fP have a corresponding call to
\fIcurl_easy_cleanup(3)\fP when the operation is complete.
-If you did not already call \fIcurl_global_init(3)\fP,
+If you did not already call \fIcurl_global_init(3)\fP,
\fIcurl_easy_init(3)\fP does it automatically.
This may be lethal in multi-threaded cases, since \fIcurl_global_init(3)\fP is
not thread-safe, and it may result in resource problems because there is
View
4 docs/libcurl/curl_easy_send.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -23,7 +23,7 @@
.\"
.TH curl_easy_send 3 "29 April 2008" "libcurl 7.18.2" "libcurl Manual"
.SH NAME
-curl_easy_send - sends raw data over an "easy" connection
+curl_easy_send - sends raw data over an "easy" connection
.SH SYNOPSIS
.B #include <curl/easy.h>
.sp
View
2  docs/libcurl/curl_easy_setopt.3
@@ -435,7 +435,7 @@ Therefore the (probably undefined) contents of the buffer is NOT copied
by the library. You should keep the associated storage available until
libcurl no longer needs it. Failing to do so will cause very odd behavior
or even crashes. libcurl will need it until you call \fIcurl_easy_cleanup(3)\fP
-or you set the same option again to use a different pointer.
+or you set the same option again to use a different pointer.
Use \fICURLOPT_VERBOSE\fP and \fICURLOPT_DEBUGFUNCTION\fP to better
debug/trace why errors happen.
View
2  docs/libcurl/curl_formadd.3
@@ -152,7 +152,7 @@ to a CURL_FORMADD_* constant defined in
/* Add simple name/content section */
curl_formadd(&post, &last, CURLFORM_COPYNAME, "name",
- CURLFORM_COPYCONTENTS, "content", CURLFORM_END);
+ CURLFORM_COPYCONTENTS, "content", CURLFORM_END);