1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

s/_write/write/g

This commit is contained in:
Gisle Vanem 2004-12-17 18:31:40 +00:00
parent 41e776f9db
commit 9a8ba19b73

View File

@ -237,7 +237,7 @@ static int ftruncate64 (int fd, curl_off_t where)
if (_lseeki64(fd, where, SEEK_SET) < 0)
return -1;
if (_write(fd, 0, 0) < 0)
if (write(fd, 0, 0) < 0)
rc = -1;
_lseeki64(fd, curr, SEEK_SET);
return rc;