diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-07 07:30:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-07 07:30:40 +0000 |
commit | cf1f46e1ca001dcab81e9116712c3eefefc03fd7 (patch) | |
tree | 1e80b81b7bf5203a2a7ca818e3d17fcb93bca50c /lib/ftp.c | |
parent | f052cbee1999a9dce6954efd466fd16c223c16a7 (diff) |
renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*
concept, and added lib/README.curlx to explain details about it
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -961,7 +961,7 @@ CURLcode ftp_getsize(struct connectdata *conn, char *file, if(ftpcode == 213) { /* get the size from the ascii string: */ - *size = strtoofft(buf+4, NULL, 0); + *size = curlx_strtoofft(buf+4, NULL, 0); } else return CURLE_FTP_COULDNT_GET_SIZE; @@ -1849,10 +1849,10 @@ CURLcode Curl_ftp_nextconnect(struct connectdata *conn) char *ptr; char *ptr2; - from=strtoofft(conn->range, &ptr, 0); + from=curlx_strtoofft(conn->range, &ptr, 0); while(ptr && *ptr && (isspace((int)*ptr) || (*ptr=='-'))) ptr++; - to=strtoofft(ptr, &ptr2, 0); + to=curlx_strtoofft(ptr, &ptr2, 0); if(ptr == ptr2) { /* we didn't get any digit */ to=-1; @@ -2071,7 +2071,7 @@ CURLcode Curl_ftp_nextconnect(struct connectdata *conn) /* only if we have nothing but digits: */ if(bytes++) { /* get the number! */ - size = strtoofft(bytes, NULL, 0); + size = curlx_strtoofft(bytes, NULL, 0); } } |