From: Daniel Stenberg Date: Fri, 26 May 2000 08:12:14 +0000 (+0000) Subject: fixed the CURL_ERROR_SIZE and renamed a urlget() leftover X-Git-Tag: curl-7_1_1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb3a5ab6ee46f19007024645d3f7b67339face31;p=thirdparty%2Fcurl.git fixed the CURL_ERROR_SIZE and renamed a urlget() leftover --- diff --git a/include/curl/curl.h b/include/curl/curl.h index 4226df93b4..813636660f 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -152,7 +152,7 @@ typedef enum { /* This is just to make older programs not break: */ #define CURLE_FTP_PARTIAL_FILE CURLE_PARTIAL_FILE -#define URLGET_ERROR_SIZE 256 +#define CURL_ERROR_SIZE 256 /* maximum URL length we deal with */ #define URL_MAX_LENGTH 4096 @@ -205,25 +205,25 @@ typedef enum { /* Specified file stream to upload from (use as input): */ T(INFILE, OBJECTPOINT, 9), - /* Buffer to receive error messages in, must be at least URLGET_ERROR_SIZE - bytes big. If this is not used, error messages go to stderr instead: */ + /* Buffer to receive error messages in, must be at least CURL_ERROR_SIZE + * bytes big. If this is not used, error messages go to stderr instead: */ T(ERRORBUFFER, OBJECTPOINT, 10), /* Function that will be called to store the output (instead of fwrite). The - parameters will use fwrite() syntax, make sure to follow them. */ + * parameters will use fwrite() syntax, make sure to follow them. */ T(WRITEFUNCTION, FUNCTIONPOINT, 11), /* Function that will be called to read the input (instead of fread). The - parameters will use fread() syntax, make sure to follow them. */ + * parameters will use fread() syntax, make sure to follow them. */ T(READFUNCTION, FUNCTIONPOINT, 12), /* Time-out the read operation after this amount of seconds */ T(TIMEOUT, LONG, 13), - /* If the CURLOPT_INFILE is used, this can be used to inform urlget about how - large the file being sent really is. That allows better error checking - and better verifies that the upload was succcessful. -1 means unknown - size. */ + /* If the CURLOPT_INFILE is used, this can be used to inform libcurl about + * how large the file being sent really is. That allows better error + * checking and better verifies that the upload was succcessful. -1 means + * unknown size. */ T(INFILESIZE, LONG, 14), /* POST input fields. */ @@ -381,8 +381,8 @@ char *curl_GetEnv(char *variable); char *curl_version(void); /* This is the version number */ -#define LIBCURL_VERSION "7.0beta" -#define LIBCURL_VERSION_NUM 0x070000 +#define LIBCURL_VERSION "7.0.1beta" +#define LIBCURL_VERSION_NUM 0x070001 /* linked-list structure for the CURLOPT_QUOTE option */ struct curl_slist {