aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-02 07:25:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-02 07:25:39 +0000
commit7ab3b5b3bb4c02dc00621efe13b8d3b29b819250 (patch)
tree2e0f118ed75aed0201d4b15d8d1b948cda184430 /lib/url.c
parent00d5f886e3037434f7173f06908ade39488476b5 (diff)
use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of
having to redef that name
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index b0c12c44f..23bddc8df 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2411,7 +2411,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
if(conn->resume_from) {
if(!conn->bits.use_range) {
/* if it already was in use, we just skip this */
- snprintf(resumerange, sizeof(resumerange), CURL_FORMAT_OFF_T "-",
+ snprintf(resumerange, sizeof(resumerange), FORMAT_OFF_T "-",
conn->resume_from);
conn->range=strdup(resumerange); /* tell ourselves to fetch this range */
conn->bits.rangestringalloc = TRUE; /* mark as allocated */
@@ -2941,7 +2941,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
*/
conn->resume_from = data->set.set_resume_from;
if (conn->resume_from) {
- snprintf(resumerange, sizeof(resumerange), CURL_FORMAT_OFF_T "-",
+ snprintf(resumerange, sizeof(resumerange), FORMAT_OFF_T "-",
conn->resume_from);
if (conn->bits.rangestringalloc == TRUE)
free(conn->range);