Commit Graph

2254 Commits

Author SHA1 Message Date
Gunter Knauf 954575a19d changed to use Makefile.inc; made paths overwritable. 2004-07-05 13:25:30 +00:00
Gunter Knauf 47bbe36725 added comment. 2004-07-05 13:24:44 +00:00
Gunter Knauf dba40b35f2 try to relax linux build host detection. 2004-07-05 01:58:33 +00:00
Daniel Stenberg dfda9cc007 explicit typecasts to prevent warnings 2004-07-04 21:54:49 +00:00
Daniel Stenberg e39b29fc48 typecast the conversion to uInt when assigning z->avail_in to prevent
warnings from picky compilers
2004-07-04 21:53:46 +00:00
Daniel Stenberg 4c17ba4fc0 make sure the 3rd argument passed to bind() is a socklen_t 2004-07-04 21:48:54 +00:00
Daniel Stenberg 4511f7ac50 SSL_get_verify_result() returns a long, so we receive the result in a long
and not an int.
2004-07-04 21:42:32 +00:00
Daniel Stenberg b9f76f11bb typecast long => int conversion 2004-07-04 21:38:36 +00:00
Daniel Stenberg 17841a20e3 explicit typecasts when converting from long to int to avoid warnings 2004-07-04 21:37:35 +00:00
Daniel Stenberg d2e6a0583a made 'connectindex' a long variable to prevent compiler warnings when
implicitly converting it to int
2004-07-04 21:36:14 +00:00
Daniel Stenberg 31c332af93 typecast the conversion from long to int to prevent picky compiler warnings 2004-07-04 21:35:12 +00:00
Gunter Knauf 90af60a6ef removed now obsolete ifdef. Shouldnt the other ifdefs be inside the else as they are in ./src/setup.h ? 2004-07-04 15:37:25 +00:00
Gunter Knauf efb1fdbec8 removed abort() - sync'd with getdate.y 1.26 2004-07-04 15:27:08 +00:00
Daniel Stenberg bada8cc259 include the Makefile.inc file to get all sources and headers 2004-07-04 08:45:25 +00:00
Gunter Knauf 6e72ea7442 reverted, older gcc breaks compilation since it doesnt know the switch. 2004-07-03 20:18:02 +00:00
Gunter Knauf a4aac27fd3 killed warning with gcc 3.3.1 and later when using -O2. 2004-07-03 19:58:01 +00:00
Gunter Knauf fc0df97278 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.
2004-07-03 18:06:39 +00:00
Gunter Knauf 592658e874 added Makefile.inc which can be included from other makefiles to reduce maintaining. 2004-07-03 17:49:40 +00:00
Daniel Stenberg aedadfc779 explicit typecasts to double to prevent warnings about implicit conversions
that might lose accuracy
2004-07-02 11:56:26 +00:00
Daniel Stenberg d1d53b2bbf make clean now removes getdate.c 2004-07-02 11:25:13 +00:00
Daniel Stenberg a9572bf88a Andrés García found out the share cleanup code crashes when you cleanup
and there are not lock/unlock functions set!
2004-07-02 08:28:31 +00:00
Daniel Stenberg 090b89cc76 Variable type cleanups to please the picky MIPSPro compiler. 2004-07-01 08:10:21 +00:00
Daniel Stenberg f05d47ddd6 variable type cleanup to fix picky compiler warnings 2004-07-01 07:43:20 +00:00
Daniel Stenberg fcfd4bef2d typecast to prevent picky compiler warning 2004-07-01 07:30:19 +00:00
Daniel Stenberg 18dc8fbc26 typecast to int when the variable is int! 2004-07-01 07:28:36 +00:00
Daniel Stenberg e35187741b spellfixed comments 2004-07-01 06:08:06 +00:00
Daniel Stenberg ce945bd2f0 5K array on the stack is a big hefty, it is now allocated with malloc
instead
2004-06-30 12:05:07 +00:00
Daniel Stenberg 8efa6f407d I think 1024 bytes is enough for even most ipv6 addresses :-) 2004-06-30 12:04:37 +00:00
Daniel Stenberg 85bd4621db Prevent a very long password to buffer overflow the global variable we
use when built with a very old OpenSSL version.
2004-06-30 11:53:34 +00:00
Daniel Stenberg 6c3759d78d removed trailing whitespace, free a missing malloc when returning error 2004-06-30 11:51:24 +00:00
Daniel Stenberg 4af08a19f8 passing in a very long interface name could make a buffer overflow 2004-06-30 11:48:19 +00:00
Daniel Stenberg c7a9e07909 simplified the check for when to free() the buf data 2004-06-30 11:32:16 +00:00
Daniel Stenberg 185baf036b NOBODY set TRUE after a POST makes a good HEAD now 2004-06-30 11:09:16 +00:00
Daniel Stenberg ba40eccc90 make the SSL connect use the same default connect timeout define as the
generic connect uses
2004-06-30 09:22:48 +00:00
Daniel Stenberg 7a52f44bd4 Gisle fixed a bad free from the resolve reorg, I changed type of the buf
variable to sort out some compiler warnings.
2004-06-29 18:44:59 +00:00
Daniel Stenberg efa5485744 Gisle's djgpp updates 2004-06-29 18:43:56 +00:00
Daniel Stenberg 808621ab22 corrected the Curl_is_connected() proto 2004-06-29 11:21:05 +00:00
Daniel Stenberg 6ed5feda2b First attempt at making the multi interface work when connecting to a host
that resolves to multiple IP addresses.
2004-06-29 11:20:07 +00:00
Daniel Stenberg b0cd96478c oops 5 bytes makes 4 letters plus zero byte 2004-06-24 15:15:27 +00:00
Daniel Stenberg 387ec712e6 fix warning 2004-06-24 15:06:25 +00:00
Daniel Stenberg f2a99d7d74 the _num_chars() function is not used, removing 2004-06-24 15:05:39 +00:00
Daniel Stenberg 8b6b15dccc to prevent compier warnings, we only declare len if we have code
that uses it
2004-06-24 14:52:51 +00:00
Daniel Stenberg 785bad388b Gisle cleaned up remaining host resolve re-org issues 2004-06-24 14:39:52 +00:00
Daniel Stenberg cf10df6c68 include header for our printfs 2004-06-24 14:35:45 +00:00
Daniel Stenberg 5b55dcbfbb reverted bad win32 fix 2004-06-24 14:34:13 +00:00
Gunter Knauf e7dbbd16a5 fixed the MSVC build. 2004-06-24 13:49:14 +00:00
Daniel Stenberg 62f0457961 length limit the sscanf() parsing to prevent buffer overflow 2004-06-24 12:07:36 +00:00
Daniel Stenberg 8879b57b73 ah, simplified my latest change more 2004-06-24 12:01:20 +00:00
Daniel Stenberg e49a6feabb fix for systems without gethostbyname_r() 2004-06-24 11:58:43 +00:00
Daniel Stenberg feb2dd2835 Replaced all uses of sprintf() with the safer snprintf(). It is just a
precaution to prevent mistakes to lead to buffer overflows.
2004-06-24 11:54:11 +00:00