1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
Commit Graph

621 Commits

Author SHA1 Message Date
Daniel Stenberg
ceb8f1cb22 Curl_ prefix 2001-08-17 10:10:15 +00:00
Daniel Stenberg
a7a3d49996 cleaned up rewrite 2001-08-17 10:02:34 +00:00
Daniel Stenberg
9ce94207e2 IPv6-addresses can have dots too! 2001-08-15 21:54:24 +00:00
Daniel Stenberg
9518e06413 extract IPv6-style specified IP-addresses properly 2001-08-15 21:40:09 +00:00
Daniel Stenberg
aa21e42d5b const fixes 2001-08-15 18:42:17 +00:00
Daniel Stenberg
70ad8a0b2b Using CURLOPT_POST without using CURLOPT_POSTFIELDS caused us to strlen()
a NULL pointer. Now, we treat a missing CURLOPT_POSTFIELDS as if there is
no data to send.
2001-08-15 13:38:36 +00:00
Daniel Stenberg
cec8a3afb2 removed one compiler error and two "unused variable" warnings 2001-08-15 12:26:34 +00:00
Sterling Hughes
7d17713d62 more _ftp_cwd 2001-08-15 07:21:21 +00:00
Sterling Hughes
546f4dca52 ftp_cwd() abstraction
"%" -> "%s"
2001-08-15 07:14:51 +00:00
Sterling Hughes
09a9b57bae This can be used in another place (Curl_ftp_done :)...
declare at the top of the file, put the private functions at the bottom of
the file, however, this is clearer imho (since _ftp is already there).
2001-08-15 06:58:56 +00:00
Daniel Stenberg
10ab082188 non-public functions should not use CURL * as arguments, so I changed them
to use 'struct UrlData *' instead
2001-08-15 06:55:42 +00:00
Daniel Stenberg
4999087879 modified the Curl_perform() proto 2001-08-15 06:54:51 +00:00
Sterling Hughes
bff5f1b944 must merge before commit
must merge before commit
must merge before commit
2001-08-15 06:54:16 +00:00
Daniel Stenberg
6e22b74253 removed protos that were moved to url.h and the new getinfo.h 2001-08-15 06:54:09 +00:00
Daniel Stenberg
a547f3a21e moved the url.c prototypes to here 2001-08-15 06:53:34 +00:00
Daniel Stenberg
db9bb9221f calls Curl_initinfo() in perform(). 2001-08-15 06:53:10 +00:00
Sterling Hughes
7994817185 begin abstraction process... 2001-08-15 06:52:42 +00:00
Daniel Stenberg
5ce97dbf0a prototypes for getinfo.c 2001-08-15 06:52:33 +00:00
Daniel Stenberg
0879515d4c Added Curl_initinfo() that's supposed to init session-specific getinfo-
variables
2001-08-15 06:52:15 +00:00
Daniel Stenberg
2a6e1ea83c internal functions should not use 'CURL *' as arguments, I replaced them
with the more appropriate 'struct UrlData *' instead.
2001-08-15 06:51:37 +00:00
Daniel Stenberg
ea6d35d973 added getinfo.h 2001-08-15 06:50:30 +00:00
Daniel Stenberg
a80f65c578 David James made it build 7.8.1 pre 5 2001-08-15 06:13:58 +00:00
Daniel Stenberg
a9665b092b exchanged the second and third argument to fwrite(), as that makes it look
good on VMS.
Removed a '#if 0' section, made Curl_getmyhost static and cut off the 'Curl_'
prefix
2001-08-14 09:26:32 +00:00
Daniel Stenberg
1ad7023758 #include <curl/mprintf.h> 2001-08-14 09:25:15 +00:00
Daniel Stenberg
1a7e13e166 curl_memdebug takes a const argument now 2001-08-14 09:24:48 +00:00
Daniel Stenberg
94a3886455 minor fixes for compiler warnings 2001-08-14 08:40:39 +00:00
Daniel Stenberg
616d8eda41 Curl_open() only take one argument now,
Curl_ldap_done() and Curl_dict_done() were removed,
compiler warnings corrected
2001-08-14 08:40:06 +00:00
Daniel Stenberg
85bb25e628 const and (un)signed fixes 2001-08-14 08:39:01 +00:00
Daniel Stenberg
83a5e39065 const and unsigned/signed fixes 2001-08-14 08:38:08 +00:00
Daniel Stenberg
bd0afd8db4 removed the use of the global array for the password that was necessary
for OpenSSL versions prior to 0.9.4, this is conditional and should still
work with older versions.
2001-08-14 08:36:30 +00:00
Daniel Stenberg
2d68ea45d8 size_t and const 2001-08-14 08:34:55 +00:00
Daniel Stenberg
5f42ef8f5b cleaned up some of the size_t and const mess 2001-08-14 08:34:09 +00:00
Daniel Stenberg
dff0145447 removed unused code, added const 2001-08-14 08:33:24 +00:00
Daniel Stenberg
8e1f95ac7d cleaned up some picky compiler warnings and indented the code curl style 2001-08-14 08:32:50 +00:00
Daniel Stenberg
95e7e551f6 added const char * => char * typecast 2001-08-14 08:32:03 +00:00
Daniel Stenberg
5afc694879 const-ified lots of function arguments 2001-08-14 08:31:27 +00:00
Daniel Stenberg
b1c57788f3 const-ified the code, removed Curl_ldap_done() 2001-08-14 08:30:43 +00:00
Daniel Stenberg
3d4bb3be22 fixed picky compiler warnings, unused arguments, const at proper places and
I also indented the source code to fit curl "standard"
2001-08-14 08:30:08 +00:00
Daniel Stenberg
0c063f85fc Curl_httpchunk_read now takes size_t size arguments instead of the previous
ssize_t
2001-08-14 08:29:09 +00:00
Daniel Stenberg
c11a1bf72a made some char * into const char * and I removed the check for size > 0
in the add_buffer function.
2001-08-14 08:28:15 +00:00
Daniel Stenberg
f195502064 added const to the prompt char * in the proto 2001-08-14 08:27:07 +00:00
Daniel Stenberg
4df9d94414 added typecast when converting const char * to char * 2001-08-14 08:26:20 +00:00
Daniel Stenberg
9a7fc9ce3a added const to the function protos 2001-08-14 08:25:47 +00:00
Daniel Stenberg
9fa464aa94 Curl_ftpsendf's third argument is now a const char * 2001-08-14 08:25:08 +00:00
Daniel Stenberg
d95ed06aa9 corrected the size_t weirdness. Expect size_t to be unsigned. Moved most
over to ssize_t that is signed. Removed all the special-purpose VMS #ifdefs
that were added for this.
2001-08-14 08:24:37 +00:00
Daniel Stenberg
5abe5f664a added a few consts and a few typecasts to please picky compiler options 2001-08-14 08:23:20 +00:00
Daniel Stenberg
e9e5197cea size_t => ssize_t, removed the special VMS fix for that purpose 2001-08-14 08:22:27 +00:00
Daniel Stenberg
7b4b166718 added typecasts when converting from unsigned int to int 2001-08-14 08:20:17 +00:00
Daniel Stenberg
e32641d412 Added an empty win32_cleanup for non-windows systems to prevent compiler
warnings, changed the Curl_open() call as the second argument was never
used anyway
2001-08-14 08:19:40 +00:00
Daniel Stenberg
1603f64771 removed the *done() function as it served no purpose, added type casts when
converting from 'const char *' to 'char *' to please my picky compiler
options
2001-08-14 08:18:35 +00:00