diff options
Diffstat (limited to 'libs/libcurl/src/file.c')
-rw-r--r-- | libs/libcurl/src/file.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/libcurl/src/file.c b/libs/libcurl/src/file.c index fe05ad067c..e02686cdb7 100644 --- a/libs/libcurl/src/file.c +++ b/libs/libcurl/src/file.c @@ -58,7 +58,6 @@ #include <dirent.h>
#endif
-#include "strtoofft.h"
#include "urldata.h"
#include <curl/curl.h>
#include "progress.h"
@@ -241,7 +240,7 @@ static CURLcode file_connect(struct Curl_easy *data, bool *done) file->path = real_path;
#endif
#endif
- Curl_safefree(file->freepath);
+ free(file->freepath);
file->freepath = real_path; /* free this when done */
file->fd = fd;
@@ -548,7 +547,7 @@ static CURLcode file_do(struct Curl_easy *data, bool *done) if(data->state.resume_from) {
if(!S_ISDIR(statbuf.st_mode)) {
-#ifdef __AMIGA__
+#if defined(__AMIGA__) || defined(__MINGW32CE__)
if(data->state.resume_from !=
lseek(fd, (off_t)data->state.resume_from, SEEK_SET))
#else
|