Daniel Stenberg [Sun, 4 Jul 2004 21:54:49 +0000 (21:54 +0000)]
explicit typecasts to prevent warnings
Daniel Stenberg [Sun, 4 Jul 2004 21:53:46 +0000 (21:53 +0000)]
typecast the conversion to uInt when assigning z->avail_in to prevent
warnings from picky compilers
Daniel Stenberg [Sun, 4 Jul 2004 21:48:54 +0000 (21:48 +0000)]
make sure the 3rd argument passed to bind() is a socklen_t
Daniel Stenberg [Sun, 4 Jul 2004 21:42:32 +0000 (21:42 +0000)]
SSL_get_verify_result() returns a long, so we receive the result in a long
and not an int.
Daniel Stenberg [Sun, 4 Jul 2004 21:38:36 +0000 (21:38 +0000)]
typecast long => int conversion
Daniel Stenberg [Sun, 4 Jul 2004 21:37:35 +0000 (21:37 +0000)]
explicit typecasts when converting from long to int to avoid warnings
Gunter Knauf [Sun, 4 Jul 2004 21:36:32 +0000 (21:36 +0000)]
added NetWare section for paths.
Daniel Stenberg [Sun, 4 Jul 2004 21:36:14 +0000 (21:36 +0000)]
made 'connectindex' a long variable to prevent compiler warnings when
implicitly converting it to int
Gunter Knauf [Sun, 4 Jul 2004 21:35:26 +0000 (21:35 +0000)]
update to build both test apps.
Daniel Stenberg [Sun, 4 Jul 2004 21:35:12 +0000 (21:35 +0000)]
typecast the conversion from long to int to prevent picky compiler warnings
Gunter Knauf [Sun, 4 Jul 2004 15:37:25 +0000 (15:37 +0000)]
removed now obsolete ifdef. Shouldnt the other ifdefs be inside the else as they are in ./src/setup.h ?
Gunter Knauf [Sun, 4 Jul 2004 15:34:58 +0000 (15:34 +0000)]
removed now obsolete ifdef.
Gunter Knauf [Sun, 4 Jul 2004 15:27:08 +0000 (15:27 +0000)]
removed abort() - sync'd with getdate.y 1.26
Daniel Stenberg [Sun, 4 Jul 2004 08:45:25 +0000 (08:45 +0000)]
include the Makefile.inc file to get all sources and headers
Gunter Knauf [Sat, 3 Jul 2004 22:25:37 +0000 (22:25 +0000)]
minor fix for compiling on Linux.
Gunter Knauf [Sat, 3 Jul 2004 21:48:42 +0000 (21:48 +0000)]
added few ifdefs to make it usable for NetWare.
Gunter Knauf [Sat, 3 Jul 2004 21:44:32 +0000 (21:44 +0000)]
added NetWare makefile.
Gunter Knauf [Sat, 3 Jul 2004 20:18:02 +0000 (20:18 +0000)]
reverted, older gcc breaks compilation since it doesnt know the switch.
Gunter Knauf [Sat, 3 Jul 2004 19:58:01 +0000 (19:58 +0000)]
killed warning with gcc 3.3.1 and later when using -O2.
Gunter Knauf [Sat, 3 Jul 2004 19:13:28 +0000 (19:13 +0000)]
modified to use new Makefile.inc to build up object list;
added generation of config.h and a prebuild target to create all neded files.
Gunter Knauf [Sat, 3 Jul 2004 18:06:39 +0000 (18:06 +0000)]
modified to use new Makefile.inc to build up object list;
added generation of config.h and a prebuild target to create all neded files.
Gunter Knauf [Sat, 3 Jul 2004 17:49:40 +0000 (17:49 +0000)]
added Makefile.inc which can be included from other makefiles to reduce maintaining.
Daniel Stenberg [Fri, 2 Jul 2004 14:00:49 +0000 (14:00 +0000)]
I prefer CURLOPT_WRITEDATA before CURLOPT_FILE
Daniel Stenberg [Fri, 2 Jul 2004 12:48:53 +0000 (12:48 +0000)]
snprintf instead of sprintf,
better support for HUGE files with the -# progress bar
Daniel Stenberg [Fri, 2 Jul 2004 12:29:15 +0000 (12:29 +0000)]
added typecasts to please compilers
Daniel Stenberg [Fri, 2 Jul 2004 12:28:57 +0000 (12:28 +0000)]
variable type cleanup to hush compilers,
killed trailing whitespace
Daniel Stenberg [Fri, 2 Jul 2004 11:56:26 +0000 (11:56 +0000)]
explicit typecasts to double to prevent warnings about implicit conversions
that might lose accuracy
Daniel Stenberg [Fri, 2 Jul 2004 11:27:06 +0000 (11:27 +0000)]
curl_share_cleanup fix
Daniel Stenberg [Fri, 2 Jul 2004 11:25:13 +0000 (11:25 +0000)]
make clean now removes getdate.c
Daniel Stenberg [Fri, 2 Jul 2004 09:14:46 +0000 (09:14 +0000)]
configure --disable-http works these days
Daniel Stenberg [Fri, 2 Jul 2004 08:28:31 +0000 (08:28 +0000)]
Andrés García found out the share cleanup code crashes when you cleanup
and there are not lock/unlock functions set!
Daniel Stenberg [Thu, 1 Jul 2004 14:06:44 +0000 (14:06 +0000)]
typecase the argument to curl_easy_strerror() to a CURLcode to please
picky compilers
Daniel Stenberg [Thu, 1 Jul 2004 13:55:13 +0000 (13:55 +0000)]
djgpp fixes by Gisle
Daniel Stenberg [Thu, 1 Jul 2004 13:54:24 +0000 (13:54 +0000)]
Gisle's win32-fix. 'errno' is not used for errors when socket() fails on
Windows.
Daniel Stenberg [Thu, 1 Jul 2004 13:53:13 +0000 (13:53 +0000)]
Gisle added makefile for djgpp builds
Daniel Stenberg [Thu, 1 Jul 2004 12:37:55 +0000 (12:37 +0000)]
--trace fix
Daniel Stenberg [Thu, 1 Jul 2004 08:22:52 +0000 (08:22 +0000)]
make functions use size_t instead of int next major update
Daniel Stenberg [Thu, 1 Jul 2004 08:10:21 +0000 (08:10 +0000)]
Variable type cleanups to please the picky MIPSPro compiler.
Daniel Stenberg [Thu, 1 Jul 2004 07:43:20 +0000 (07:43 +0000)]
variable type cleanup to fix picky compiler warnings
Daniel Stenberg [Thu, 1 Jul 2004 07:30:19 +0000 (07:30 +0000)]
typecast to prevent picky compiler warning
Daniel Stenberg [Thu, 1 Jul 2004 07:28:36 +0000 (07:28 +0000)]
typecast to int when the variable is int!
Daniel Stenberg [Thu, 1 Jul 2004 06:59:43 +0000 (06:59 +0000)]
Gisle's djgpp magic
Daniel Stenberg [Thu, 1 Jul 2004 06:58:47 +0000 (06:58 +0000)]
Gisle Vanem made this build fine with djgpp and the Watt-32 stack.
Daniel Stenberg [Thu, 1 Jul 2004 06:19:19 +0000 (06:19 +0000)]
don't close the trace stream until _after_ the easy handle has been cleaned
up, as that can send traces too
Daniel Stenberg [Thu, 1 Jul 2004 06:08:06 +0000 (06:08 +0000)]
spellfixed comments
Daniel Stenberg [Wed, 30 Jun 2004 12:34:33 +0000 (12:34 +0000)]
Another Gisle update
Daniel Stenberg [Wed, 30 Jun 2004 12:05:07 +0000 (12:05 +0000)]
5K array on the stack is a big hefty, it is now allocated with malloc
instead
Daniel Stenberg [Wed, 30 Jun 2004 12:04:37 +0000 (12:04 +0000)]
I think 1024 bytes is enough for even most ipv6 addresses :-)
Daniel Stenberg [Wed, 30 Jun 2004 11:53:34 +0000 (11:53 +0000)]
Prevent a very long password to buffer overflow the global variable we
use when built with a very old OpenSSL version.
Daniel Stenberg [Wed, 30 Jun 2004 11:51:24 +0000 (11:51 +0000)]
removed trailing whitespace, free a missing malloc when returning error
Daniel Stenberg [Wed, 30 Jun 2004 11:48:19 +0000 (11:48 +0000)]
passing in a very long interface name could make a buffer overflow
Daniel Stenberg [Wed, 30 Jun 2004 11:34:57 +0000 (11:34 +0000)]
not PIN code, pass phrase
Daniel Stenberg [Wed, 30 Jun 2004 11:32:16 +0000 (11:32 +0000)]
simplified the check for when to free() the buf data
Daniel Stenberg [Wed, 30 Jun 2004 11:09:16 +0000 (11:09 +0000)]
NOBODY set TRUE after a POST makes a good HEAD now
Daniel Stenberg [Wed, 30 Jun 2004 10:47:14 +0000 (10:47 +0000)]
wxcurldav
Daniel Stenberg [Wed, 30 Jun 2004 09:29:00 +0000 (09:29 +0000)]
fixed
Daniel Stenberg [Wed, 30 Jun 2004 09:22:48 +0000 (09:22 +0000)]
make the SSL connect use the same default connect timeout define as the
generic connect uses
Daniel Stenberg [Tue, 29 Jun 2004 18:45:52 +0000 (18:45 +0000)]
Curl_addrinfo is another typedef we use frequently
Daniel Stenberg [Tue, 29 Jun 2004 18:44:59 +0000 (18:44 +0000)]
Gisle fixed a bad free from the resolve reorg, I changed type of the buf
variable to sort out some compiler warnings.
Daniel Stenberg [Tue, 29 Jun 2004 18:43:56 +0000 (18:43 +0000)]
Gisle's djgpp updates
Daniel Stenberg [Tue, 29 Jun 2004 18:43:04 +0000 (18:43 +0000)]
Gisle's update
Gunter Knauf [Tue, 29 Jun 2004 13:20:37 +0000 (13:20 +0000)]
fixed argument parsing; added --setup option.
Daniel Stenberg [Tue, 29 Jun 2004 13:16:30 +0000 (13:16 +0000)]
'M-x ispell-buffer'
Daniel Stenberg [Tue, 29 Jun 2004 11:27:33 +0000 (11:27 +0000)]
multi interface connect fix
Daniel Stenberg [Tue, 29 Jun 2004 11:22:39 +0000 (11:22 +0000)]
commented out the check for gethostbyname_r() as we no longer use it
Daniel Stenberg [Tue, 29 Jun 2004 11:21:05 +0000 (11:21 +0000)]
corrected the Curl_is_connected() proto
Daniel Stenberg [Tue, 29 Jun 2004 11:20:07 +0000 (11:20 +0000)]
First attempt at making the multi interface work when connecting to a host
that resolves to multiple IP addresses.
Daniel Stenberg [Tue, 29 Jun 2004 07:58:52 +0000 (07:58 +0000)]
Added missing info for the command line tool, as noted by Mike Kienenberger
Daniel Stenberg [Mon, 28 Jun 2004 07:08:09 +0000 (07:08 +0000)]
--limit-rate problems on Mac OS X was reported by Rob Stanzel
Daniel Stenberg [Sun, 27 Jun 2004 21:51:54 +0000 (21:51 +0000)]
check for a fine poll() before it is used to sleep subsecond
Daniel Stenberg [Sun, 27 Jun 2004 21:19:54 +0000 (21:19 +0000)]
reset CURLOPT_CUSTOMREQUEST with NULL
Daniel Stenberg [Thu, 24 Jun 2004 15:20:29 +0000 (15:20 +0000)]
snprintf and version
Daniel Stenberg [Thu, 24 Jun 2004 15:15:27 +0000 (15:15 +0000)]
oops 5 bytes makes 4 letters plus zero byte
Daniel Stenberg [Thu, 24 Jun 2004 15:06:25 +0000 (15:06 +0000)]
fix warning
Daniel Stenberg [Thu, 24 Jun 2004 15:05:39 +0000 (15:05 +0000)]
the _num_chars() function is not used, removing
Daniel Stenberg [Thu, 24 Jun 2004 14:52:51 +0000 (14:52 +0000)]
to prevent compier warnings, we only declare len if we have code
that uses it
Daniel Stenberg [Thu, 24 Jun 2004 14:40:16 +0000 (14:40 +0000)]
Gisle: free used memory better
Daniel Stenberg [Thu, 24 Jun 2004 14:39:52 +0000 (14:39 +0000)]
Gisle cleaned up remaining host resolve re-org issues
Daniel Stenberg [Thu, 24 Jun 2004 14:35:45 +0000 (14:35 +0000)]
include header for our printfs
Daniel Stenberg [Thu, 24 Jun 2004 14:34:13 +0000 (14:34 +0000)]
reverted bad win32 fix
Gunter Knauf [Thu, 24 Jun 2004 13:49:14 +0000 (13:49 +0000)]
fixed the MSVC build.
Daniel Stenberg [Thu, 24 Jun 2004 12:07:36 +0000 (12:07 +0000)]
length limit the sscanf() parsing to prevent buffer overflow
Daniel Stenberg [Thu, 24 Jun 2004 12:01:20 +0000 (12:01 +0000)]
ah, simplified my latest change more
Daniel Stenberg [Thu, 24 Jun 2004 11:58:43 +0000 (11:58 +0000)]
fix for systems without gethostbyname_r()
Daniel Stenberg [Thu, 24 Jun 2004 11:54:11 +0000 (11:54 +0000)]
Replaced all uses of sprintf() with the safer snprintf(). It is just a
precaution to prevent mistakes to lead to buffer overflows.
Daniel Stenberg [Thu, 24 Jun 2004 10:43:50 +0000 (10:43 +0000)]
made the Curl_he2ai() take the port number as an int intead, to avoid lots
of typecasts all over
Daniel Stenberg [Thu, 24 Jun 2004 10:43:22 +0000 (10:43 +0000)]
use snprintf() to be on the safe side
Daniel Stenberg [Thu, 24 Jun 2004 09:14:59 +0000 (09:14 +0000)]
typecasts to prevent warnings
Daniel Stenberg [Thu, 24 Jun 2004 09:13:50 +0000 (09:13 +0000)]
only use sockaddr_in6 on ipv6-enabled hosts
Daniel Stenberg [Thu, 24 Jun 2004 08:59:54 +0000 (08:59 +0000)]
socks proxy support even when libcurl is built ipv6-enabled
Daniel Stenberg [Thu, 24 Jun 2004 08:31:17 +0000 (08:31 +0000)]
typecast to prevent warning
Daniel Stenberg [Thu, 24 Jun 2004 08:30:39 +0000 (08:30 +0000)]
use Curl_addrinfo, not 'struct addrinfo'
Daniel Stenberg [Thu, 24 Jun 2004 08:09:54 +0000 (08:09 +0000)]
fixed problems I missed to fix from my cleanup
Daniel Stenberg [Thu, 24 Jun 2004 08:08:28 +0000 (08:08 +0000)]
prevent warning
Daniel Stenberg [Thu, 24 Jun 2004 07:56:07 +0000 (07:56 +0000)]
Yet another resolve code re-org
Daniel Stenberg [Thu, 24 Jun 2004 07:43:48 +0000 (07:43 +0000)]
Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.
Daniel Stenberg [Wed, 23 Jun 2004 09:08:03 +0000 (09:08 +0000)]
static functions are better not Curl_ prefixed to make their static
status more obvious
Daniel Stenberg [Wed, 23 Jun 2004 06:17:17 +0000 (06:17 +0000)]
When adding the return -1 to prevent warnings on some compilers, others
started complaining since it won't be reached... So I removed the call to
abort() and just return -1 instead. abort() was wrong to call anyway since
this is a library!
Daniel Stenberg [Wed, 23 Jun 2004 06:14:23 +0000 (06:14 +0000)]
prevent a warning
Gunter Knauf [Tue, 22 Jun 2004 23:56:19 +0000 (23:56 +0000)]
one copy&paste too much, removed the define again.