Daniel Stenberg
b903186fa0
source cleanup: unify look, style and indent levels
...
By the use of a the new lib/checksrc.pl script that checks that our
basic source style rules are followed.
2011-04-27 09:09:35 +02:00
Fabian Keil
1702a2c08d
Fix a couple of spelling errors in lib/
...
Found with codespell.
2011-04-21 07:55:53 -07:00
Yang Tse
b3d39275f5
inet_pton: fix compiler warning
...
warning C4146: unary minus operator applied to unsigned type, result still unsigned
2010-11-25 02:20:14 +01:00
Daniel Stenberg
bb60fe0c1a
inet_pton: warnings: use size_t to store pointer deltas
2010-06-08 23:09:42 +02:00
Yang Tse
73060b4523
backport fix for failures to reject certain malformed literals
2008-11-17 02:40:41 +00:00
Yang Tse
ad61b58036
fix compiler warning
2008-10-14 02:35:39 +00:00
Daniel Stenberg
cbd1a77ec2
if () => if()
...
while () => while()
and some other minor re-indentings
2007-11-07 09:21:35 +00:00
Daniel Stenberg
ad6e28073c
removed space after if and while before the parenthesis for better source code
...
consistency
2007-11-05 09:45:09 +00:00
Yang Tse
038fe54e21
fix compiler warning
2007-04-13 07:57:31 +00:00
Yang Tse
8fe9376d54
move WinSock definitions of EBADF, EINTR, EINVAL and EAFNOSUPPORT to setup_once.h
2007-04-04 06:06:36 +00:00
Gisle Vanem
c514a2a89a
Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files
...
since they're already included through "setup.h".
2007-02-26 04:24:26 +00:00
Yang Tse
a1d5983991
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
2007-02-16 18:19:35 +00:00
Yang Tse
5df4be1165
Check for USE_WINSOCK instead of WIN32 where the check was done
...
to verify winsock API availability.
2006-10-18 21:05:40 +00:00
Dan Fandrich
df03d5a8b2
Replaced nonstandard u_char and u_int types
2005-12-08 22:59:58 +00:00
Daniel Stenberg
6b1220b61d
Cory Nelson's work on nuking compiler warnings when building on x64 with
...
VS2005.
2005-04-26 13:08:49 +00:00
Dan Fandrich
a07dcfd850
Renamed a variable to avoid conflict with a C++ reserved word.
2004-12-17 20:18:53 +00:00
Daniel Stenberg
39af394a1c
removed tabs and trailing whitespace from source
2004-10-06 07:50:18 +00:00
Daniel Stenberg
566f7b5e58
simplified expression
2004-08-19 09:37:22 +00:00
Daniel Stenberg
d72ca96a43
indented the code curl-style
2004-08-18 06:12:01 +00:00
Daniel Stenberg
4d17d6876e
Dan Fandrich's cleanup patch to make pedantic compiler options cause less
...
warnings. Minor edits by me.
2004-01-29 13:56:45 +00:00
Daniel Stenberg
c964aedf3b
Only compile the ipv6-section for ipv6-enabled libcurls. Should save
...
us some trouble.
2003-10-30 07:13:13 +00:00
Daniel Stenberg
749f5387c1
Gisle Vanem's IPv6-on-Windows patch applied!
2003-10-14 12:00:45 +00:00
Daniel Stenberg
e4adbf4017
Dominick Meglio fixed this to build fine on MSVC
2003-10-09 08:19:01 +00:00
Daniel Stenberg
e612f73374
include file fixes
2003-10-08 13:07:08 +00:00
Daniel Stenberg
6494889e3b
Neil Dunbar provided a patch that now makes libcurl check SSL
...
subjectAltNames when matching certs. This is apparently detailed in RFC2818
as the right thing to do. I had to add configure checks for inet_pton() and
our own (strictly speaking, code from BIND written by Paul Vixie) provided
code for the function for platforms that miss it.
2003-10-07 21:46:47 +00:00