Daniel Stenberg
|
1eb9fd6c4d
|
use size_t for the data, but keep the protos use ssize_t to better fit
with the existing transfer.c code
|
2004-03-04 15:25:06 +00:00 |
|
Daniel Stenberg
|
78e47fbb5c
|
include the proper header file too
|
2004-03-04 15:23:57 +00:00 |
|
Daniel Stenberg
|
2b59e90c54
|
fix progress data to be updated properly for file: transfers, as reported
by Jesse Noller
|
2004-03-04 15:12:12 +00:00 |
|
Daniel Stenberg
|
59a30e6d9b
|
prevent harmless compiler warning
|
2004-03-04 12:57:12 +00:00 |
|
Daniel Stenberg
|
2479e06848
|
David Byron's work on making libcurl only require winsock 1.1 on Windows
machines.
|
2004-03-03 13:32:56 +00:00 |
|
Daniel Stenberg
|
5e7f1a0eaf
|
more variable type cleanups
|
2004-03-03 13:24:14 +00:00 |
|
Daniel Stenberg
|
eb9383d49b
|
our timeout values are longs while 'tv_sec' is int
|
2004-03-03 13:17:44 +00:00 |
|
Daniel Stenberg
|
817d17354e
|
make the backup variable of the same kind as the data it backups! ;-)
|
2004-03-03 13:12:30 +00:00 |
|
Daniel Stenberg
|
88e226c686
|
some more size_t usage, and two added typecasts when converting from size_t
to long (MIPSpro warnings)
|
2004-03-03 13:11:28 +00:00 |
|
Daniel Stenberg
|
9116dd41bd
|
tv_sec is an int, so we explicitly typecast the result of long - long to
an int when we assign it.
|
2004-03-03 13:07:32 +00:00 |
|
Daniel Stenberg
|
b2ef40731a
|
Tom Bates' adjustment to build on his nsr-tandem-nsk.
|
2004-03-03 09:27:18 +00:00 |
|
Daniel Stenberg
|
e2f7030202
|
rename struct FILE to FILEPROTO, to prevent it from causing trouble with
the plain old FILE typedef.
|
2004-03-03 09:25:59 +00:00 |
|
Daniel Stenberg
|
7c85be9435
|
corrected the reuse_fresh condition
|
2004-03-02 14:00:44 +00:00 |
|
Daniel Stenberg
|
353f764119
|
Yet another curl_off_t printf format attempt, we now exclude the %-letter from
FORMAT_OFF_T to allow additional options to get specified, like with '"%5"
FORMAT_OFF_T'.
|
2004-03-02 09:31:18 +00:00 |
|
Daniel Stenberg
|
7ab3b5b3bb
|
use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of
having to redef that name
|
2004-03-02 07:25:39 +00:00 |
|
Daniel Stenberg
|
00d5f886e3
|
- we switch to simply use FORMAT_OFF_T internally
- Also, we must not assume that SIZEOF_CURL_OFF_T is defined, as this file
gets included from the ares dir at times and then it isn't defined.
|
2004-03-02 07:25:08 +00:00 |
|
Daniel Stenberg
|
cb72a80fe0
|
Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.
|
2004-03-01 16:28:00 +00:00 |
|
Daniel Stenberg
|
71d81f1f75
|
Now uses CURL_FORMAT_OFF_T instead of %Od
Fixed the check for bad resumes. Made test case 99 work and proved a bug
in test case ... eh, was it 32?
|
2004-03-01 16:27:34 +00:00 |
|
Daniel Stenberg
|
7983ec84a7
|
set CURL_VERSION_LARGEFILE if we support large files
|
2004-03-01 16:24:04 +00:00 |
|
Daniel Stenberg
|
8cb2a68694
|
define ENABLE_64BIT if we have enabled 64bit large files
define our internal CURL_FORMAT_OFF_T define, we don't use the global one!
|
2004-03-01 16:23:35 +00:00 |
|
Daniel Stenberg
|
485122035c
|
fixed the test code to work
|
2004-03-01 16:22:17 +00:00 |
|
Daniel Stenberg
|
4d12be9867
|
removed an unnecessary shift and splut up som weird two-statements-per-line
code
|
2004-03-01 12:54:59 +00:00 |
|
Daniel Stenberg
|
5eeaff8235
|
Support 'z' for size_t-sized integer printing, as in %zd or %zx.
|
2004-03-01 12:44:07 +00:00 |
|
Daniel Stenberg
|
7d2e872828
|
Only consider the fresh-connection option on the first connection made, not
on followed redirections etc. This should fix the bug #905365, which caused
NTLM to fail with the option set.
|
2004-03-01 09:43:42 +00:00 |
|
Daniel Stenberg
|
4dfc0a78e7
|
Only attempt to send the FTP QUIT command if we actually have a FTP struct.
|
2004-03-01 07:59:25 +00:00 |
|
Daniel Stenberg
|
82bd583251
|
in Curl_disonnect(): call the protocol-specific disconnect function before we
unlink the "current" connection struct from the connection cache.
|
2004-03-01 07:19:26 +00:00 |
|
Daniel Stenberg
|
6c78b4b7c0
|
fixed some more size_t/int/long warnings and removed a few CMC comments
|
2004-02-27 13:21:14 +00:00 |
|
Daniel Stenberg
|
77268e0649
|
Joe Halpin made the FTP code send 'QUIT' on the control connection before
it disconnects the TCP connection, like a good ftp client should!
|
2004-02-27 07:08:37 +00:00 |
|
Daniel Stenberg
|
4515d06465
|
David Byron's fixes to make the latest curl build fine under MSVC 6.
|
2004-02-26 16:23:28 +00:00 |
|
Daniel Stenberg
|
07de0ff0ff
|
Gisle Vanem's added support calloc()-debugging and outputting mode for
fopen() as well.
|
2004-02-26 14:52:51 +00:00 |
|
Daniel Stenberg
|
7d8cd5906c
|
use calloc instead of malloc and we won't have to memset() the struct
|
2004-02-26 14:52:16 +00:00 |
|
Daniel Stenberg
|
d571064b65
|
Clear up int/long/size_t/ssize_t usage a bit
|
2004-02-26 13:40:43 +00:00 |
|
Daniel Stenberg
|
d687eed33e
|
use %ld when printf()ing long variables (and removed use of 'register')
|
2004-02-26 12:32:29 +00:00 |
|
Daniel Stenberg
|
be2cdf14f3
|
Don't call the lock/unlock functions if they are NULL. They can still be
NULL without violating protocol.
|
2004-02-26 11:39:38 +00:00 |
|
Daniel Stenberg
|
f9b2b7940e
|
disable the use of long double, we don't use it
|
2004-02-25 15:34:05 +00:00 |
|
Daniel Stenberg
|
df94c7aedc
|
Based on a patch by Greg Hewgill I modified how long long is used, as we
can use a 64bit type with MSVC that is a long long equivalent.
|
2004-02-25 14:15:38 +00:00 |
|
Daniel Stenberg
|
f128fae705
|
fixed some warnings in the (both new and old) base64 usage
|
2004-02-23 16:09:39 +00:00 |
|
Daniel Stenberg
|
2ae4420869
|
make newer MSCV7 compilers use _strtoi64() as a strtoll() replacement
|
2004-02-23 14:24:49 +00:00 |
|
Daniel Stenberg
|
888eec833c
|
Removed getpass from here. The fact this still was present here indicates
that this file is out of date!
|
2004-02-23 12:01:10 +00:00 |
|
Daniel Stenberg
|
2911e63bc2
|
curl_off_t is 8 bytes big on windows
|
2004-02-23 11:59:28 +00:00 |
|
Daniel Stenberg
|
34d247bc4e
|
switch the arguments according to the c source
|
2004-02-23 11:44:03 +00:00 |
|
Daniel Stenberg
|
99bc7e5fd3
|
oops, the decode() function got its arguments reversed in my cleanup
operation!
|
2004-02-23 11:39:21 +00:00 |
|
Daniel Stenberg
|
f35c28214e
|
use size_t to keep strlen() results
|
2004-02-23 08:38:49 +00:00 |
|
Daniel Stenberg
|
35fd1365ae
|
simplied how create_hostcache_id() is used, and also its function somewhat
cleared up some ssize_t/size_t mixups
|
2004-02-23 08:35:57 +00:00 |
|
Daniel Stenberg
|
f493081004
|
adjusted to the modified base64 protos
|
2004-02-23 08:24:53 +00:00 |
|
Daniel Stenberg
|
e1b5e15431
|
More size_t cleanups in the base64 functions.
|
2004-02-23 08:22:43 +00:00 |
|
Daniel Stenberg
|
1aba4c519b
|
The base64 encode function now takes a size_t for size, not an int as
previously.
|
2004-02-23 08:07:55 +00:00 |
|
Daniel Stenberg
|
0ffec4272a
|
the missing part of Gisle Vanem's connect-timeout fix for win32
|
2004-02-22 22:31:24 +00:00 |
|
Daniel Stenberg
|
4bde770169
|
added some extra typecasts to prevent compiler warnings when converting
int to various types
|
2004-02-21 15:05:46 +00:00 |
|
Daniel Stenberg
|
9af7e46f72
|
inlcude krb4.h to get the proto for Curl_krb_kauth() to satisfy picky
compilers
|
2004-02-21 14:57:29 +00:00 |
|