use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of

having to redef that name
This commit is contained in:
Daniel Stenberg
2004-03-02 07:25:39 +00:00
parent 00d5f886e3
commit 7ab3b5b3bb
6 changed files with 25 additions and 25 deletions

View File

@@ -191,7 +191,7 @@ CURLcode Curl_file(struct connectdata *conn)
date. */
if(data->set.no_body && data->set.include_header && fstated) {
CURLcode result;
sprintf(buf, "Content-Length: " CURL_FORMAT_OFF_T "\r\n", expected_size);
sprintf(buf, "Content-Length: " FORMAT_OFF_T "\r\n", expected_size);
result = Curl_client_write(data, CLIENTWRITE_BOTH, buf, 0);
if(result)
return result;