Yang Tse
b38189c7b4
fix compiler warning: enumerated type mixed with another type
2010-06-01 12:25:14 +02:00
Yang Tse
1bb04927f3
fix compiler warning: enumerated type mixed with another type
2010-05-31 19:55:22 +02:00
Patrick Monnerat
3fd01be648
smtp_authenticate: avoid compiler warnings
2010-05-31 17:37:00 +02:00
Yang Tse
5ae6db321f
fix compiler warning: enumerated type mixed with another type
2010-05-31 17:34:28 +02:00
Yang Tse
0546d448ce
fix compiler warning: enumerated type mixed with another type
2010-05-31 17:22:43 +02:00
Yang Tse
b4fa27ae4b
fix compiler warning: enumerated type mixed with another type
2010-05-31 17:11:51 +02:00
Yang Tse
12043e3c9c
fix compiler warning: external declaration in primary source file
2010-05-31 16:58:24 +02:00
Yang Tse
a324fa7b97
fix compiler warning: variable was set but never used
2010-05-31 16:51:36 +02:00
Yang Tse
a9483b1f4a
fix compiler warning: enumerated type mixed with another type
2010-05-31 16:36:05 +02:00
Yang Tse
40f8aaedb7
fix compiler warning: external declaration in primary source file
2010-05-31 16:24:01 +02:00
Yang Tse
374f48675b
update year in copyright notice
2010-05-31 13:51:29 +02:00
Kamil Dudka
20ae9d4f71
strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN
...
... and CURL_LLONG_MAX -> CURL_OFF_T_MAX
2010-05-29 21:28:16 +02:00
Kamil Dudka
35955179c6
CURL_LLONG_MAX: avoid constant overflow
...
... when (CURL_SIZEOF_CURL_OFF_T == 4)
2010-05-29 21:23:18 +02:00
Howard Chu
b1c1b9bb76
LDAPS: list availability depending on SSL's presence
2010-05-28 12:23:28 +02:00
Howard Chu
123f80ae54
LDAP: make it build without SSL if no such support is available
...
of course it also goes for the case where SSL is explicitly
disabled
2010-05-28 12:22:35 +02:00
Daniel Stenberg
c54ab4dca7
TODO: removed fixed items
...
These two items are now actually implemented:
11.1 Content-Disposition
11.5 ftp wildcard download
2010-05-28 11:57:49 +02:00
Kamil Dudka
233ec511db
lib: eliminate 'statement not reached' warnings
2010-05-28 09:45:17 +02:00
Daniel Stenberg
4b96e5c70f
test1115: verify that unexpected 1xx responses work fine
2010-05-28 00:55:11 +02:00
Kamil Dudka
75743b009b
lib577: avoid redefinition of ERROR
2010-05-28 00:50:11 +02:00
Kamil Dudka
01459828ef
test313: a new test for CRL support
2010-05-27 23:45:18 +02:00
Kamil Dudka
99179da4cc
tests/certs: re-generated because of lost pass-phrase
2010-05-27 23:39:54 +02:00
Kamil Dudka
645bdd837a
tests/certs/scripts: generate also CRL
...
... and make it possible to do so without any user interaction
2010-05-27 23:33:19 +02:00
Howard Chu
c03cbb38ad
openldap: fix compiler warnings
2010-05-27 22:37:38 +02:00
Daniel Stenberg
63661d8e83
indent: some whitespace edits
2010-05-27 22:37:38 +02:00
Kamil Dudka
4a0493f789
wildcard.c: add missing include of "setup.h"
2010-05-27 20:56:01 +02:00
Tor Arntsen
eadeb5bd9a
lib573: do not compare double for exact match
2010-05-27 20:20:08 +02:00
Pavel Raiskup
9190e2876e
wildcard.c: add missing include of "curl_memory.h"
2010-05-27 18:41:29 +02:00
Tor Arntsen
b4f0e1291f
setup_once: use enum type for 'bool' on non-C99 platforms
...
An enum will catch non-bool assignments to bool on platforms with
a strict compiler, e.g MIPSPro.
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
2010-05-27 18:15:17 +02:00
Kamil Dudka
dd8568739c
url.c: avoid implied cast to bool
2010-05-27 16:35:31 +02:00
Tor Arntsen
97b497a75f
curl_fnmatch: remove use of register keyword
...
Using the 'register' keyword rarely improves anything with modern
compilers and architectures.
2010-05-27 16:34:57 +02:00
Julien Chaffraix
d3c813e726
RTMP: Fix compiler warnings
2010-05-26 00:41:45 +02:00
Julien Chaffraix
9e480973eb
OOM fixes in http_negociate.c and lib/splay.c
...
Fix 2 OOM errors: a missing NULL-check in lib/http_negociate.c
and a potential NULL dereferencing in lib/splay.c
2010-05-26 00:40:26 +02:00
Howard Chu
2e056353b0
LDAP: properly implemented as a curl_handler
...
makes the LDAP code much cleaner, nicer and in general being a
better libcurl citizen. If a new enough OpenLDAP version is
detect, the new and shiny lib/openldap.c code is then used
instead of the old cruft
Code by Howard, minor cleanups by Daniel.
2010-05-25 00:44:42 +02:00
Tor Arntsen
606b933a4f
curl_fnmatch: Use int not bool when function returns int
...
bool in curl internals is unsigned char and should not be used
to receive return value from functions returning int - this fails
when using IBM VisualAge and Tru64 compilers.
2010-05-21 23:42:55 +02:00
Daniel Stenberg
d17709da31
TFTP: send legal timeout value
...
Eric Mertens posted bug #3003705 : when we made TFTP use the
correct timeout option when sent to the server (fixed May 18th
2010) it became obvious that libcurl used invalid timeout values
(300 by default while the RFC allows nothing above 255). While of
course it is obvious that as TFTP has worked thus far without
being able to set timeout at all, just removing the setting
wouldn't make any difference in behavior. I decided to still keep
it (but fix the problem) as it now actually allows for easier
(future) customization of the timeout.
(http://curl.haxx.se/bug/view.cgi?id=3003705 )
2010-05-21 23:29:52 +02:00
Daniel Stenberg
0bb6deda72
TFTP: don't ack if wrong block num is received
...
If an unexpected block number was received, break out of the
switch loop.
2010-05-21 23:07:59 +02:00
Daniel Stenberg
0a29e2445c
TFTP: block id wrap bug fix
...
In a normal expression, doing [unsigned short] + 1 will not wrap
at 16 bits so the comparisons and outputs were done wrong. I
added a macro do make sure it gets done right.
Douglas Kilpatrick filed bug report #3004787 about it:
http://curl.haxx.se/bug/view.cgi?id=3004787
2010-05-21 23:04:15 +02:00
Ben Greear
700335103e
Fix build warnings.
...
Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-05-20 23:16:46 +02:00
Ben Greear
368fd5d27b
setopt: Fix setting of set.is_fwrite_set
...
Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-05-20 23:15:34 +02:00
Tanguy Fautre
81239edb89
build: allow curl to build with Microsoft VC10
...
By undefing a bunch of E* defines that VC10 has started to define
but that we redefine internally to their WSA* alternatives when
building for Windows.
2010-05-20 22:40:48 +02:00
Tor Arntsen
22f3b01478
Test 573: Use correct type for CURLINFO_CONNECT_TIME
...
curl_easy_getinfo() called with a pointer to long instead of double
would sigbus on RISC processors (e.g. MIPS) due to wrong alignment
of pointer address.
2010-05-20 17:12:53 +02:00
Tor Arntsen
5f53c9d94a
lib: Fix AIX build failure
2010-05-19 22:09:35 +02:00
Dan Fandrich
04cfef24a1
Fixed some memory leaks in the POP3 torture tests
2010-05-19 12:18:06 -07:00
Dan Fandrich
1d26151d5f
Fixed a memory leak in the SMTP torture tests
2010-05-18 14:44:19 -07:00
Daniel Stenberg
aabd27d9aa
TFTP: send timeout option correctly
...
Eric Mertens posted bug report #3003005 pointing out that the
libcurl TFTP code was not sending the timeout option properly to
the server, and suggested a fix.
(http://curl.haxx.se/bug/view.cgi?id=3003005 )
2010-05-18 23:14:00 +02:00
Tor Arntsen
dcc061543a
lib: Change some CRLF line endings to LF
...
An update had added a couple of lines with DOS line endings,
and some compilers will choke on that (e.g. the Tru64 compiler).
2010-05-16 22:34:02 +02:00
Kamil Dudka
2ffe834bff
ftp wildcard: a new option CURLOPT_FNMATCH_DATA
2010-05-16 02:52:33 +02:00
Howard Chu
027ceb37a1
RMTP: the version code is now rtmp aware
2010-05-15 22:13:17 +02:00
Howard Chu
510836f80b
RTMP: fix wrong #ifdef
2010-05-15 22:02:44 +02:00
Pavel Raiskup
e4af5d6efc
ftp wildcard: fix int32_t and size/group mixups
2010-05-15 21:58:50 +02:00