platform/upstream/curl.git
17 years agocomment language
Daniel Stenberg [Mon, 12 Nov 2007 21:42:20 +0000 (21:42 +0000)]
comment language

17 years agoBug report #1830637 (http://curl.haxx.se/bug/view.cgi?id=1830637), which was
Daniel Stenberg [Mon, 12 Nov 2007 21:38:43 +0000 (21:38 +0000)]
Bug report #1830637 (curl.haxx.se/bug/view.cgi?id=1830637), which was
forwarded from the Gentoo bug tracker by Daniel Black and was originally
submitted by Robin Johnson, pointed out that libcurl would do bad memory
references when it failed and bailed out before the handler thing was
setup. My fix is not done like the provided patch does it, but instead I
make sure that there's never any chance for a NULL pointer in that struct
member.

17 years agooops, fixed build when CURL_LIBSSH2_DEBUG is defined
Daniel Stenberg [Mon, 12 Nov 2007 09:24:05 +0000 (09:24 +0000)]
oops, fixed build when CURL_LIBSSH2_DEBUG is defined

17 years agonew ruby binding, curl-multi version 0.1
Daniel Stenberg [Sun, 11 Nov 2007 14:20:15 +0000 (14:20 +0000)]
new ruby binding, curl-multi version 0.1

17 years agoSome versions of winsock2.h have pollfd struct and constants
Yang Tse [Sat, 10 Nov 2007 04:23:15 +0000 (04:23 +0000)]
Some versions of winsock2.h have pollfd struct and constants

17 years agoFix compiler warning: integral size mismatch in argument
Yang Tse [Thu, 8 Nov 2007 19:28:25 +0000 (19:28 +0000)]
Fix compiler warning: integral size mismatch in argument

17 years agoDefine WIN32 when build target is Win32 API.
Yang Tse [Thu, 8 Nov 2007 18:13:54 +0000 (18:13 +0000)]
Define WIN32 when build target is Win32 API.
This also defines it for WinCE even though it is a subset of WIN32.

17 years agoFix compiler warning: may be used uninitialized
Yang Tse [Thu, 8 Nov 2007 16:43:01 +0000 (16:43 +0000)]
Fix compiler warning: may be used uninitialized

17 years agoFix comment
Yang Tse [Thu, 8 Nov 2007 16:32:31 +0000 (16:32 +0000)]
Fix comment

17 years agospell!
Daniel Stenberg [Thu, 8 Nov 2007 10:25:23 +0000 (10:25 +0000)]
spell!

17 years agoBug report #1823487 (http://curl.haxx.se/bug/view.cgi?id=1823487) pointed
Daniel Stenberg [Thu, 8 Nov 2007 10:22:49 +0000 (10:22 +0000)]
Bug report #1823487 (curl.haxx.se/bug/view.cgi?id=1823487) pointed
out that SFTP requests didn't use persistent connections. Neither did SCP
ones.  I gave the SSH code a good beating and now both SCP and SFTP should
use persistent connections fine. I also did a bunch for indent changes as
well as a bug fix for the "keyboard interactive" auth.

17 years agoThe only libraries actually needed for sample programs adig and
Yang Tse [Thu, 8 Nov 2007 01:33:28 +0000 (01:33 +0000)]
The only libraries actually needed for sample programs adig and
ahost are ws2_32.lib and advapi32.lib

17 years agoMSVC versions prior to VS2005 do not complain about portable C functions
Yang Tse [Wed, 7 Nov 2007 18:18:42 +0000 (18:18 +0000)]
MSVC versions prior to VS2005 do not complain about portable C functions

17 years agoif () => if()
Daniel Stenberg [Wed, 7 Nov 2007 09:21:35 +0000 (09:21 +0000)]
if () => if()
while () => while()
and some other minor re-indentings

17 years agoImproved telnet support by drastically reducing the number of write
Dan Fandrich [Wed, 7 Nov 2007 05:52:03 +0000 (05:52 +0000)]
Improved telnet support by drastically reducing the number of write
callbacks needed to pass a buffer to the user.  Instead one per byte it
is now as little as one per segment.

17 years agoAdd a call to curl_global_cleanup to show how to do a proper shutdown.
Dan Fandrich [Wed, 7 Nov 2007 04:53:37 +0000 (04:53 +0000)]
Add a call to curl_global_cleanup to show how to do a proper shutdown.

17 years agoBug report #1824894 (http://curl.haxx.se/bug/view.cgi?id=1824894) pointed
Yang Tse [Tue, 6 Nov 2007 17:18:27 +0000 (17:18 +0000)]
Bug report #1824894 (curl.haxx.se/bug/view.cgi?id=1824894) pointed
out a problem in curl.h when building C++ apps with MSVC. To fix it, the
inclusion of header files in curl.h is moved outside of the C++ extern "C"
linkage block.

17 years agoAdded prototype for _strtoi64().
Gisle Vanem [Tue, 6 Nov 2007 16:20:54 +0000 (16:20 +0000)]
Added prototype for _strtoi64().

17 years agoConstified from arguments.
Gisle Vanem [Tue, 6 Nov 2007 16:20:04 +0000 (16:20 +0000)]
Constified from arguments.

17 years agoSort the directory listing because the server doesn't always do it.
Dan Fandrich [Mon, 5 Nov 2007 20:54:35 +0000 (20:54 +0000)]
Sort the directory listing because the server doesn't always do it.

17 years agoAdded some keywords
Dan Fandrich [Mon, 5 Nov 2007 20:53:15 +0000 (20:53 +0000)]
Added some keywords

17 years agotclcurl and a mirror recount when bad ones have been cut out
Daniel Stenberg [Mon, 5 Nov 2007 15:43:41 +0000 (15:43 +0000)]
tclcurl and a mirror recount when bad ones have been cut out

17 years agoAndres Garcia made it build and run on windows
Daniel Stenberg [Mon, 5 Nov 2007 10:07:34 +0000 (10:07 +0000)]
Andres Garcia made it build and run on windows

17 years agoremoved space after if and while before the parenthesis for better source code
Daniel Stenberg [Mon, 5 Nov 2007 09:45:09 +0000 (09:45 +0000)]
removed space after if and while before the parenthesis for better source code
consistency

17 years agoI check the code right now and while() and if() are in majority over while ()
Daniel Stenberg [Mon, 5 Nov 2007 09:31:30 +0000 (09:31 +0000)]
I check the code right now and while() and if() are in majority over while ()
and if () so the rule is from now on => no space before the parenthesis.

17 years agoMove connection-oriented variables from the SessionHandle struct to the
Daniel Stenberg [Mon, 5 Nov 2007 09:30:45 +0000 (09:30 +0000)]
Move connection-oriented variables from the SessionHandle struct to the
connectdata struct. This will in theory enable us to do persistent connections
with SCP+SFTP, but currently the state machine always (and wrongly) cleanup
everything in the 'done' action instead of in 'disconnect'. Also did a bunch
of indent fixes, if () => if() and a few other source cleanups like added
comments etc.

17 years agomake sure the code deals with failures on the DO_MORE state properly
Daniel Stenberg [Sat, 3 Nov 2007 14:44:38 +0000 (14:44 +0000)]
make sure the code deals with failures on the DO_MORE state properly

17 years agoavoid setting up a transfer when the state machine failed previously
Daniel Stenberg [Fri, 2 Nov 2007 23:34:00 +0000 (23:34 +0000)]
avoid setting up a transfer when the state machine failed previously

17 years agoToby Peterson patched a memory problem in the command line tool that
Daniel Stenberg [Thu, 1 Nov 2007 21:49:59 +0000 (21:49 +0000)]
Toby Peterson patched a memory problem in the command line tool that
happened when a user had a home dir as an empty string. curl would then do
free() on a wrong area.

17 years agominor re-indent
Daniel Stenberg [Thu, 1 Nov 2007 21:43:56 +0000 (21:43 +0000)]
minor re-indent

17 years agoIgnore more features that curl-config is not expected to know about
Dan Fandrich [Thu, 1 Nov 2007 21:20:24 +0000 (21:20 +0000)]
Ignore more features that curl-config is not expected to know about

17 years agoFixed curl-config --features to not display libz when it wasn't used
Dan Fandrich [Thu, 1 Nov 2007 18:55:00 +0000 (18:55 +0000)]
Fixed curl-config --features to not display libz when it wasn't used
due to a missing header file.

17 years agoMake postcheck failure message more like the others
Dan Fandrich [Thu, 1 Nov 2007 17:42:39 +0000 (17:42 +0000)]
Make postcheck failure message more like the others

17 years agoAdded test case 1014 to compare curl-config --features with curl --version
Dan Fandrich [Thu, 1 Nov 2007 03:09:27 +0000 (03:09 +0000)]
Added test case 1014 to compare curl-config --features with curl --version

17 years agoAdded test case 1013 to check that curl-config --protocols matches the
Dan Fandrich [Thu, 1 Nov 2007 00:36:55 +0000 (00:36 +0000)]
Added test case 1013 to check that curl-config --protocols matches the
protocols listed in curl --version

17 years agoFixed the output of curl-config --protocols which showed SCP and SFTP
Dan Fandrich [Wed, 31 Oct 2007 23:33:58 +0000 (23:33 +0000)]
Fixed the output of curl-config --protocols which showed SCP and SFTP
always, except when --without-libssh2 was given

17 years agoDetect curl source when valgrind provides an absolute source file name
Dan Fandrich [Wed, 31 Oct 2007 18:32:06 +0000 (18:32 +0000)]
Detect curl source when valgrind provides an absolute source file name

17 years agoAdd support for LDAP urls. Allthough the OpenWatcom
Gisle Vanem [Wed, 31 Oct 2007 10:58:51 +0000 (10:58 +0000)]
Add support for LDAP urls. Allthough the OpenWatcom
headers <winlap.h> and <winber.h> defines wrong calling convention.

17 years agoAdded optional use of zlib (USE_ZLIB=1).
Gisle Vanem [Wed, 31 Oct 2007 10:20:48 +0000 (10:20 +0000)]
Added optional use of zlib (USE_ZLIB=1).
Use a response-file for the C-compiler.

17 years agocontributor re-count (we'll break the 600 limit very very soon now) and I made
Daniel Stenberg [Wed, 31 Oct 2007 09:21:31 +0000 (09:21 +0000)]
contributor re-count (we'll break the 600 limit very very soon now) and I made
all the numericals at the top phrased "shorter" and I cut out the "number of
releases since the very beginning" since that's just the number curl releases
+ 26 and not a very interesting number anyway.

17 years agoFixed an OOM problem with file: URLs
Dan Fandrich [Tue, 30 Oct 2007 23:00:40 +0000 (23:00 +0000)]
Fixed an OOM problem with file: URLs
Moved Curl_file_connect into the protocol handler struct.

17 years agoadded new people from the 7.17.1 announcement
Daniel Stenberg [Tue, 30 Oct 2007 22:48:08 +0000 (22:48 +0000)]
added new people from the 7.17.1 announcement

17 years agoAdded test case 546 to check that subsequent FTP transfers work after a
Dan Fandrich [Mon, 29 Oct 2007 22:57:31 +0000 (22:57 +0000)]
Added test case 546 to check that subsequent FTP transfers work after a
failed one using the multi interface

17 years agocurl-config --features and --protocols show the correct output when built
Daniel Stenberg [Mon, 29 Oct 2007 22:13:09 +0000 (22:13 +0000)]
curl-config --features and --protocols show the correct output when built
with NSS

17 years agoBased on one of those bug reports that are intercepted by a distro's bug
Daniel Stenberg [Mon, 29 Oct 2007 22:13:00 +0000 (22:13 +0000)]
Based on one of those bug reports that are intercepted by a distro's bug
tracker (https://bugzilla.redhat.com/show_bug.cgi?id=316191), I now made
curl-config --features and --protocols show the correct output when built
with NSS.

17 years agoReverted the const change--what was I thinking?
Dan Fandrich [Mon, 29 Oct 2007 20:57:03 +0000 (20:57 +0000)]
Reverted the const change--what was I thinking?

17 years agoMade some pointers const
Dan Fandrich [Mon, 29 Oct 2007 18:32:20 +0000 (18:32 +0000)]
Made some pointers const

17 years ago7.17.2
Daniel Stenberg [Mon, 29 Oct 2007 15:06:04 +0000 (15:06 +0000)]
7.17.2

17 years agostart working on 7.17.2
Daniel Stenberg [Mon, 29 Oct 2007 15:05:47 +0000 (15:05 +0000)]
start working on 7.17.2

17 years ago7.17.1!
Daniel Stenberg [Mon, 29 Oct 2007 14:49:11 +0000 (14:49 +0000)]
7.17.1!

17 years agocorrect mirror count
Daniel Stenberg [Mon, 29 Oct 2007 14:48:37 +0000 (14:48 +0000)]
correct mirror count

17 years agolet 7.17.1 be version-info 4:1:0
Daniel Stenberg [Mon, 29 Oct 2007 10:19:07 +0000 (10:19 +0000)]
let 7.17.1 be version-info 4:1:0

17 years agoOpenWatcom cannot use wldap32.lib (wrong calling convention?).
Gisle Vanem [Sun, 28 Oct 2007 12:02:20 +0000 (12:02 +0000)]
OpenWatcom cannot use wldap32.lib (wrong calling convention?).
Added generation of dummy ca-bundle.h. Sorted objects.

17 years agohttp://curl.wetzlmayr.at/ is a new web mirror in Nuremberg, Germany
Daniel Stenberg [Sun, 28 Oct 2007 09:33:03 +0000 (09:33 +0000)]
curl.wetzlmayr.at/ is a new web mirror in Nuremberg, Germany

17 years agoFixed the 2000-series tests so that the downloaded data is actually checked
Dan Fandrich [Sat, 27 Oct 2007 01:04:36 +0000 (01:04 +0000)]
Fixed the 2000-series tests so that the downloaded data is actually checked

17 years agoMade the magic testnumber > 10000 support actually work
Dan Fandrich [Sat, 27 Oct 2007 01:02:57 +0000 (01:02 +0000)]
Made the magic testnumber > 10000 support actually work

17 years agoFixed the test case to create only a single test file, which is all the
Dan Fandrich [Fri, 26 Oct 2007 20:19:49 +0000 (20:19 +0000)]
Fixed the test case to create only a single test file, which is all the
test harness supports.

17 years agoFixed a valgrind uninitialized variable error.
Dan Fandrich [Fri, 26 Oct 2007 19:26:41 +0000 (19:26 +0000)]
Fixed a valgrind uninitialized variable error.

17 years agoCheck that all servers in the <server> section are supported, not just
Dan Fandrich [Fri, 26 Oct 2007 19:26:04 +0000 (19:26 +0000)]
Check that all servers in the <server> section are supported, not just
the first.

17 years agomention --static-libs as added in 7.17.1
Daniel Stenberg [Fri, 26 Oct 2007 07:46:02 +0000 (07:46 +0000)]
mention --static-libs as added in 7.17.1

17 years agotypecast to prevent compiler warning
Yang Tse [Fri, 26 Oct 2007 01:12:33 +0000 (01:12 +0000)]
typecast to prevent compiler warning

17 years agoDetect, log and avoid storing a request with a negative size.
Yang Tse [Fri, 26 Oct 2007 00:36:36 +0000 (00:36 +0000)]
Detect, log and avoid storing a request with a negative size.

17 years agoAdded the --static-libs option to curl-config
Dan Fandrich [Thu, 25 Oct 2007 22:30:35 +0000 (22:30 +0000)]
Added the --static-libs option to curl-config

17 years agoDisable valgrind for this test to avoid the rlimit = soft rlimit problem
Dan Fandrich [Thu, 25 Oct 2007 21:49:45 +0000 (21:49 +0000)]
Disable valgrind for this test to avoid the rlimit = soft rlimit problem
found by Michal Marek.

17 years agooops
Daniel Stenberg [Thu, 25 Oct 2007 21:14:15 +0000 (21:14 +0000)]
oops

17 years agoMade libcurl built with NSS possible to ignore the peer verification.
Daniel Stenberg [Thu, 25 Oct 2007 21:08:55 +0000 (21:08 +0000)]
Made libcurl built with NSS possible to ignore the peer verification.
Previously it would fail if the ca bundle wasn't present, even if the code
ignored the verification results.

17 years agoAdded test case 2004.
Dan Fandrich [Thu, 25 Oct 2007 21:04:51 +0000 (21:04 +0000)]
Added test case 2004.
Disable valgrind in test case 1004 due to a libtool bug.

17 years agoprevent compiler warnings about shadowing and one case of unused variable
Daniel Stenberg [Thu, 25 Oct 2007 20:54:46 +0000 (20:54 +0000)]
prevent compiler warnings about shadowing and one case of unused variable

17 years agoAllow test server to handle binary POSTs.
Patrick Monnerat [Thu, 25 Oct 2007 19:40:05 +0000 (19:40 +0000)]
Allow test server to handle binary POSTs.
Tests 35, 544 545 added: binary data POSTs.

17 years agoWhen valgrind is disabled in the test file, don't run it at all (as opposed
Dan Fandrich [Thu, 25 Oct 2007 19:39:52 +0000 (19:39 +0000)]
When valgrind is disabled in the test file, don't run it at all (as opposed
to running it and ignoring its output).

17 years agoDon't show valgrind log files of other tests
Yang Tse [Thu, 25 Oct 2007 18:07:13 +0000 (18:07 +0000)]
Don't show valgrind log files of other tests

17 years agoMichal Marek fixed the test script to be able to use valgrind even when the
Daniel Stenberg [Thu, 25 Oct 2007 14:30:51 +0000 (14:30 +0000)]
Michal Marek fixed the test script to be able to use valgrind even when the
lib is built shared with libtool.

17 years agoDon't assume there's a sessionhandle around when a connection is disconnected,
Daniel Stenberg [Thu, 25 Oct 2007 09:41:35 +0000 (09:41 +0000)]
Don't assume there's a sessionhandle around when a connection is disconnected,
so do the data->reqdata.current_conn assignment when we know there is an easy
handle existing! Fixes the valgrind report on test 509.

17 years agofix the check
Daniel Stenberg [Thu, 25 Oct 2007 09:34:16 +0000 (09:34 +0000)]
fix the check

17 years agoFixed a TFTP memory leak. Enabled test 2003 to verify this.
Daniel Stenberg [Thu, 25 Oct 2007 07:47:38 +0000 (07:47 +0000)]
Fixed a TFTP memory leak. Enabled test 2003 to verify this.

17 years agoFixed the test TFTP server to support the >10000 test number notation
Dan Fandrich [Wed, 24 Oct 2007 22:48:23 +0000 (22:48 +0000)]
Fixed the test TFTP server to support the >10000 test number notation
Added test cases 2002 and 2003 (the latter disabled for now)

17 years agoenable 2000 and 2001
Daniel Stenberg [Wed, 24 Oct 2007 21:27:25 +0000 (21:27 +0000)]
enable 2000 and 2001

17 years agoCurl_ftp_disconnect() no longer relies on anything in the reqdata struct. That
Daniel Stenberg [Wed, 24 Oct 2007 21:14:11 +0000 (21:14 +0000)]
Curl_ftp_disconnect() no longer relies on anything in the reqdata struct. That
was even mentioned to be bad in a comment! Should make test 2000 and 2001 work
fine.

Also, freedirs() now take a ftp_conn struct pointer which saves some extra
unnecessary variable assignments.

17 years agoadded clarifying comment
Daniel Stenberg [Wed, 24 Oct 2007 21:09:59 +0000 (21:09 +0000)]
added clarifying comment

17 years agoAdded test cases 2000 and 2001 which test multiple protocols using the
Dan Fandrich [Wed, 24 Oct 2007 19:40:07 +0000 (19:40 +0000)]
Added test cases 2000 and 2001 which test multiple protocols using the
same easy handle
Fixed the filecheck: make target to work outside the source tree

17 years agoFixed the test FTP server to support the >10000 test number notation
Dan Fandrich [Wed, 24 Oct 2007 19:39:29 +0000 (19:39 +0000)]
Fixed the test FTP server to support the >10000 test number notation

17 years agoMissing double quotes
Yang Tse [Wed, 24 Oct 2007 16:40:59 +0000 (16:40 +0000)]
Missing double quotes

17 years agoWindows build targets have socklen_t definition in ws2tcpip.h but some
Yang Tse [Wed, 24 Oct 2007 14:39:07 +0000 (14:39 +0000)]
Windows build targets have socklen_t definition in ws2tcpip.h but some
versions of ws2tcpip.h do not have the definition. It seems that when
the socklen_t definition is missing from ws2tcpip.h the definition for
INET_ADDRSTRLEN is also missing, and that when one definition is present
the other one also is available.

17 years agoClose log/server.input ASAP to avoid lengthy file lock on cygwin
Patrick Monnerat [Wed, 24 Oct 2007 13:03:08 +0000 (13:03 +0000)]
Close log/server.input ASAP to avoid lengthy file lock on cygwin

17 years agoVladimir Lazarenko pointed out that we should do some 'mt' magic when
Daniel Stenberg [Wed, 24 Oct 2007 09:28:36 +0000 (09:28 +0000)]
Vladimir Lazarenko pointed out that we should do some 'mt' magic when
building with VC8 to get the "manifest" embedded to make fine stand-alone
binaries. The maketgz and the src/Makefile.vc6 files were adjusted
accordingly.

17 years agoBug report #1812190 (http://curl.haxx.se/bug/view.cgi?id=1812190) points out
Daniel Stenberg [Tue, 23 Oct 2007 21:00:51 +0000 (21:00 +0000)]
Bug report #1812190 (curl.haxx.se/bug/view.cgi?id=1812190) points out
that libcurl tried to re-use connections a bit too much when using non-SSL
protocols tunneled over a HTTP proxy.

17 years agoFile is not a protocol that can deal with "persistancy"
Yang Tse [Tue, 23 Oct 2007 15:16:46 +0000 (15:16 +0000)]
File is not a protocol that can deal with "persistancy"

17 years agoRead callback should return 0 when no more data left
Yang Tse [Tue, 23 Oct 2007 15:10:48 +0000 (15:10 +0000)]
Read callback should return 0 when no more data left

17 years agoFix compiler warning: subscript has type `char'
Yang Tse [Tue, 23 Oct 2007 10:14:24 +0000 (10:14 +0000)]
Fix compiler warning: subscript has type `char'

17 years agoremoved dependency on gettimeofday() since we use only 1 sec resolution here.
Gunter Knauf [Mon, 22 Oct 2007 23:31:40 +0000 (23:31 +0000)]
removed dependency on gettimeofday() since we use only 1 sec resolution here.

17 years agoremoved 105, it is now assumed to be fixed!
Daniel Stenberg [Mon, 22 Oct 2007 15:07:29 +0000 (15:07 +0000)]
removed 105, it is now assumed to be fixed!

105 - "invalid free after an http redirect to ftp"

17 years agoMichal Marek forwarded the bug report
Daniel Stenberg [Mon, 22 Oct 2007 15:05:35 +0000 (15:05 +0000)]
Michal Marek forwarded the bug report
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to
FTP that caused memory havoc. His work together with my efforts created two
fixes:

#1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with
     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).

17 years agoRemoved 93 and 100, there's no work on these and they're not critical in any
Daniel Stenberg [Mon, 22 Oct 2007 14:48:25 +0000 (14:48 +0000)]
Removed 93 and 100, there's no work on these and they're not critical in any
way:

93 - Digest for IIS fix (subject for removal)
100 - icc segmentation faults (subject for removal)

17 years ago#103 is fixed
Daniel Stenberg [Mon, 22 Oct 2007 10:23:25 +0000 (10:23 +0000)]
#103 is fixed

17 years agomention Patrick Monnerat's recent work on the postfields problems
Daniel Stenberg [Mon, 22 Oct 2007 09:28:42 +0000 (09:28 +0000)]
mention Patrick Monnerat's recent work on the postfields problems

17 years agoBug report #1815530 (http://curl.haxx.se/bug/view.cgi?id=1815530) points out
Daniel Stenberg [Mon, 22 Oct 2007 09:25:45 +0000 (09:25 +0000)]
Bug report #1815530 (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).

17 years agoMohun Biswas sent a patch to fix generated MSVC8 makefiles.
Gunter Knauf [Sat, 20 Oct 2007 21:06:24 +0000 (21:06 +0000)]
Mohun Biswas sent a patch to fix generated MSVC8 makefiles.

17 years agoWe use this ZERO_NULL to avoid picky compiler warnings,
Yang Tse [Sat, 20 Oct 2007 15:47:16 +0000 (15:47 +0000)]
We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.

17 years agoFix compiler warning: conversion from "int" to "unsigned short" may lose significant...
Yang Tse [Sat, 20 Oct 2007 15:11:51 +0000 (15:11 +0000)]
Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits

17 years agoAdd custom check for WINLDAP libraries.
Yang Tse [Fri, 19 Oct 2007 16:15:42 +0000 (16:15 +0000)]
Add custom check for WINLDAP libraries.

In CURL_CHECK_LIBS_WINLDAP and CURL_CHECK_LIBS_LDAP, check first with no
additional library even when the optional list of libraries has been given.