Commit 9a8ba19b authored by Gisle Vanem's avatar Gisle Vanem
Browse files

s/_write/write/g

parent 41e776f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;