diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-16 01:33:59 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-16 01:33:59 +0000 |
commit | ad638da2c29a61babb50fdced0333393416a199a (patch) | |
tree | 5956d0f5515251212742ec9ff0c9d01088a295d7 /lib/ssh.c | |
parent | a923d8541c938aedd36d1c39a9bacf3e2a9eec10 (diff) | |
download | curl-ad638da2c29a61babb50fdced0333393416a199a.tar.gz |
Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot handle print formatting string directives
such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
other DOS/Windows compilers.
This reverts previous commit part which did:
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Diffstat (limited to 'lib/ssh.c')
-rw-r--r-- | lib/ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1647,8 +1647,8 @@ static CURLcode ssh_statemach_act(struct connectdata *conn) if(data->state.resume_from< 0) { /* We're supposed to download the last abs(from) bytes */ if((curl_off_t)attrs.filesize < -data->state.resume_from) { - failf(data, "Offset (%" CURL_FORMAT_CURL_OFF_T - ") was beyond file size (%" CURL_FORMAT_CURL_OFF_T ")", + failf(data, "Offset (%" + FORMAT_OFF_T ") was beyond file size (%" FORMAT_OFF_T ")", data->state.resume_from, attrs.filesize); return CURLE_BAD_DOWNLOAD_RESUME; } @@ -1657,8 +1657,8 @@ static CURLcode ssh_statemach_act(struct connectdata *conn) } else { if((curl_off_t)attrs.filesize < data->state.resume_from) { - failf(data, "Offset (%" CURL_FORMAT_CURL_OFF_T - ") was beyond file size (%" CURL_FORMAT_CURL_OFF_T ")", + failf(data, "Offset (%" FORMAT_OFF_T + ") was beyond file size (%" FORMAT_OFF_T ")", data->state.resume_from, attrs.filesize); return CURLE_BAD_DOWNLOAD_RESUME; } |